mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fix nuke rounds not ending when nuke was disarmed (#39440)
This commit is contained in:
@@ -67,10 +67,9 @@
|
||||
/datum/game_mode/nuclear/check_finished()
|
||||
//Keep the round going if ops are dead but bomb is ticking.
|
||||
if(nuke_team.operatives_dead())
|
||||
var/obj/machinery/nuclearbomb/N
|
||||
pass(N) //suppress unused warning
|
||||
if(N.bomb_set) //snaaaaaaaaaake! It's not over yet!
|
||||
return FALSE //its a static var btw
|
||||
for(var/obj/machinery/nuclearbomb/N in GLOB.nuke_list)
|
||||
if(N.proper_bomb && (N.timing || N.exploding))
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/datum/game_mode/nuclear/set_round_result()
|
||||
|
||||
Reference in New Issue
Block a user