From 7605cc20292c77e17eed1a0de6c51882aafd8abd Mon Sep 17 00:00:00 2001 From: deathride58 Date: Sat, 13 Oct 2018 00:12:49 -0400 Subject: [PATCH] HOPEFULLY fixes the autostand exploit (#7650) --- code/modules/mob/living/living.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 6c5f030313..fc3c0cb00e 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -1020,7 +1020,7 @@ client.move_delay = world.time + movement_delay() lying_prev = lying if(canmove && !intentionalresting && iscarbon(src) && client && client.prefs && client.prefs.autostand)//CIT CHANGE - adds autostanding as a preference - resist_a_rest(TRUE)//CIT CHANGE - ditto + addtimer(CALLBACK(src, .proc/resist_a_rest, TRUE), 0) //CIT CHANGE - ditto return canmove /mob/living/proc/AddAbility(obj/effect/proc_holder/A)