DISABLE_NON_OBSJOBS now only toggled if nuke actually blows up the station (#67660)

job fix
This commit is contained in:
Rhials
2022-06-11 21:27:34 -04:00
committed by GitHub
parent 29fd14a7ff
commit ff0046c747
@@ -527,8 +527,6 @@ GLOBAL_VAR(station_nuke_source)
SSticker.roundend_check_paused = FALSE
return
SSlag_switch.set_measure(DISABLE_NON_OBSJOBS, TRUE)
var/detonation_status
var/turf/bomb_location = get_turf(src)
var/area/nuke_area = get_area(bomb_location)
@@ -549,6 +547,7 @@ GLOBAL_VAR(station_nuke_source)
// Confirming good hits, the nuke hit the station
else
SSlag_switch.set_measure(DISABLE_NON_OBSJOBS, TRUE)
detonation_status = DETONATION_HIT_STATION
GLOB.station_was_nuked = TRUE