Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick (#62965)

This commit is contained in:
ShizCalev
2021-11-23 20:58:43 -05:00
committed by GitHub
parent 47dd9557f3
commit e100f3ca8c
7 changed files with 13 additions and 12 deletions
+2
View File
@@ -346,6 +346,7 @@ GLOBAL_DATUM(everyone_a_traitor, /datum/everyone_is_a_traitor_controller)
message_admins("[key_name_admin(holder)] broke all lights")
for(var/obj/machinery/light/L in GLOB.machines)
L.break_light_tube()
stoplag()
if("whiteout")
if(!is_funmin)
return
@@ -353,6 +354,7 @@ GLOBAL_DATUM(everyone_a_traitor, /datum/everyone_is_a_traitor_controller)
message_admins("[key_name_admin(holder)] fixed all lights")
for(var/obj/machinery/light/L in GLOB.machines)
L.fix()
stoplag()
if("customportal")
if(!is_funmin)
return