Fixes teleportation bugs with cryopods and vore

This commit is contained in:
Poojawa
2018-04-21 22:53:24 -05:00
parent f98040513a
commit 09b14dfbea
2 changed files with 11 additions and 2 deletions
@@ -415,6 +415,9 @@
target.client.cryo_warned = world.time
return
if(!Adjacent(user))
return
if(target == user)
visible_message("[user] starts climbing into the cryo pod.")
else
@@ -423,6 +426,7 @@
if(occupant)
to_chat(user, "<span class='boldnotice'>\The [src] is in use.</span>")
return
close_machine(target)
to_chat(target, "<span class='boldnotice'>If you ghost, log out or close your client now, your character will shortly be permanently removed from the round.</span>")