From 134bb8339df463e978ec45ea61c469b9892bc19a Mon Sep 17 00:00:00 2001 From: Drulikar Date: Tue, 4 Jun 2024 06:06:46 -0700 Subject: [PATCH] Sanity check in case somehow first drop occurred somehow --- code/game/gamemodes/colonialmarines/colonialmarines.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/gamemodes/colonialmarines/colonialmarines.dm b/code/game/gamemodes/colonialmarines/colonialmarines.dm index 7851b3b48644..5e3f55072ddb 100644 --- a/code/game/gamemodes/colonialmarines/colonialmarines.dm +++ b/code/game/gamemodes/colonialmarines/colonialmarines.dm @@ -190,6 +190,8 @@ ///Creates an OB warning at each LZ to warn of the miasma and then spawns the miasma /datum/game_mode/colonialmarines/proc/start_lz_hazards() + if(SSobjectives.first_drop_complete) + return // Just for sanity INVOKE_ASYNC(src, PROC_REF(warn_lz_hazard), locate(/obj/structure/machinery/computer/shuttle/dropship/flight/lz1)) INVOKE_ASYNC(src, PROC_REF(warn_lz_hazard), locate(/obj/structure/machinery/computer/shuttle/dropship/flight/lz2)) addtimer(CALLBACK(src, PROC_REF(spawn_lz_hazards)), OB_TRAVEL_TIMING + 1 SECONDS)