Merge pull request #37960 from AutomaticFrenzy/patch/resting

Fix some inconsistencies relating to resting
This commit is contained in:
Jordan Brown
2018-05-25 11:56:08 -04:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -101,7 +101,8 @@
/obj/structure/table/proc/tableplace(mob/living/user, mob/living/pushed_mob)
pushed_mob.forceMove(src.loc)
pushed_mob.lay_down()
pushed_mob.resting = TRUE
pushed_mob.update_canmove()
pushed_mob.visible_message("<span class='notice'>[user] places [pushed_mob] onto [src].</span>", \
"<span class='notice'>[user] places [pushed_mob] onto [src].</span>")
add_logs(user, pushed_mob, "placed")