Merge pull request #11052 from mwerezak/do_mob-fix

Fixes various actions occuring instantly
This commit is contained in:
GinjaNinja32
2015-09-09 23:29:46 +01:00
+1 -1
View File
@@ -623,7 +623,7 @@ proc/GaussRandRound(var/sigma,var/roundto)
else return get_step(ref, base_dir)
/proc/do_mob(var/mob/user, var/mob/target, var/delay, var/numticks = 5, var/needhand = 1) //This is quite an ugly solution but i refuse to use the old request system.
/proc/do_mob(var/mob/user, var/mob/target, var/delay = 30, var/numticks = 5, var/needhand = 1) //This is quite an ugly solution but i refuse to use the old request system.
if(!user || !target) return 0
if(numticks == 0) return 0