[MIRROR] DISABLE_NON_OBSJOBS now only toggled if nuke actually blows up the station [MDB IGNORE] (#14259)

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

job fix

* DISABLE_NON_OBSJOBS now only toggled if nuke actually blows up the station

Co-authored-by: Rhials <Datguy33456@gmail.com>
This commit is contained in:
SkyratBot
2022-06-12 02:35:22 +01:00
committed by GitHub
co-authored by Rhials
parent 93a81ab7e2
commit b56cf22b8a
@@ -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