Timestop prevents speech (#47695)

This commit is contained in:
XDTM
2019-11-11 11:51:09 -05:00
committed by Emmett Gaines
parent ae5cd20205
commit 196568e0d1
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -180,6 +180,7 @@
/datum/proximity_monitor/advanced/timestop/proc/freeze_mob(mob/living/L)
frozen_mobs += L
L.Stun(20, 1, 1)
ADD_TRAIT(L, TRAIT_MUTE, TIMESTOP_TRAIT)
walk(L, 0) //stops them mid pathing even if they're stunimmune
if(isanimal(L))
var/mob/living/simple_animal/S = L
@@ -190,6 +191,7 @@
/datum/proximity_monitor/advanced/timestop/proc/unfreeze_mob(mob/living/L)
L.AdjustStun(-20, 1, 1)
REMOVE_TRAIT(L, TRAIT_MUTE, TIMESTOP_TRAIT)
frozen_mobs -= L
if(isanimal(L))
var/mob/living/simple_animal/S = L