mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fixes an edge case in malf where mulligan could incorrectly determine that there were never any antags because the malf AI died by gibbing
Resolves a similar sort of deal in monkey Note to self: if a mode has a hard return in the child before ..() you NEED to be sure continuous_sanity_checked is handled in the child. Note to future self: remove all hard returns in child modes, they are shit and cause all the mulligan bugs
This commit is contained in:
@@ -179,6 +179,7 @@
|
||||
priority_announce("Hostile enviroment resolved. You have 3 minutes to board the Emergency Shuttle.", null, 'sound/AI/shuttledock.ogg', "Priority")
|
||||
SSshuttle.emergencyNoEscape = 0
|
||||
malf_mode_declared = 0
|
||||
continuous_sanity_checked = 1
|
||||
if(get_security_level() == "delta")
|
||||
set_security_level("red")
|
||||
return ..()
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
|
||||
if(!round_converted)
|
||||
for(var/datum/mind/monkey_mind in ape_infectees)
|
||||
continuous_sanity_checked = 1
|
||||
if(monkey_mind.current && monkey_mind.current.stat != DEAD)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user