HOPEFULLY fixes the autostand exploit (#7650)

This commit is contained in:
deathride58
2018-10-13 00:12:49 -04:00
committed by kevinz000
parent 47d1d41e4b
commit 7605cc2029
+1 -1
View File
@@ -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)