Skip to content

Commit

Permalink
Make area jump work even if not specifying a area name
Browse files Browse the repository at this point in the history
  • Loading branch information
Repede committed Dec 7, 2023
1 parent 800d0c1 commit 15dc533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/admin/verbs/adminjump.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
if(areaname)
A = return_sorted_areas()[areaname]
else
A = tgui_input_list(usr, "Pick an area:", "Jump to Area", return_sorted_areas())
var/newareaname = tgui_input_list(usr, "Pick an area:", "Jump to Area", return_sorted_areas())
A = return_sorted_areas()[newareaname]

if(!A)
return
Expand Down

0 comments on commit 15dc533

Please sign in to comment.