Adds move cooldown for inventory management, clicking on adjacent atoms

This commit is contained in:
mwerezak
2015-07-05 12:51:55 -04:00
parent 06000a6984
commit 9468508226
2 changed files with 22 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
return (!mover.density || !density || lying)
return
/mob/setMoveCooldown(var/timeout)
/mob/proc/setMoveCooldown(var/timeout)
if(client)
client.move_delay = max(world.time + timeout, client.move_delay)