From b56cf22b8a2765f1e27eb334e33c473d14101838 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 12 Jun 2022 03:35:22 +0200 Subject: [PATCH] [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 --- .../antagonists/nukeop/equipment/nuclear_bomb/_nuclear_bomb.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/antagonists/nukeop/equipment/nuclear_bomb/_nuclear_bomb.dm b/code/modules/antagonists/nukeop/equipment/nuclear_bomb/_nuclear_bomb.dm index ef95c47a386..e9e3a9fba2b 100644 --- a/code/modules/antagonists/nukeop/equipment/nuclear_bomb/_nuclear_bomb.dm +++ b/code/modules/antagonists/nukeop/equipment/nuclear_bomb/_nuclear_bomb.dm @@ -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