Adds update_canmove to mob.Sleep()

This commit is contained in:
Crazylemon64
2016-10-23 15:45:35 -07:00
parent 7c8709b360
commit be125358b3
+1
View File
@@ -357,6 +357,7 @@
update_sleeping_effects()
if(updating)
update_stat()
update_canmove()
/mob/living/AdjustSleeping(amount, bound_lower = 0, bound_upper = INFINITY, updating = 1)
var/new_value = directional_bounded_sum(sleeping, amount, bound_lower, bound_upper)