Skip to content

Commit

Permalink
The 'Else If' Purge
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Aug 15, 2023
1 parent 80f14ba commit dd175e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/admin/tabs/event_tab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,17 @@
if(!is_announcing)
qdel(chosen_ert)
return
else if(is_announcing == "No")
if(is_announcing == "No")
is_announcing = FALSE
else if (is_announcing == "Yes")
if (is_announcing == "Yes")
is_announcing = TRUE

var/turf/override_spawn_loc
var/prompt = tgui_alert(usr, "Spawn at their assigned spawn, or at your location?", "Spawnpoint Selection", list("Spawn", "Current Location"), 0)
if(!prompt)
qdel(chosen_ert)
return
else if(prompt == "Current Location")
if(prompt == "Current Location")
override_spawn_loc = get_turf(usr)

chosen_ert.activate(is_announcing, override_spawn_loc)
Expand Down

0 comments on commit dd175e0

Please sign in to comment.