Fixing two issues. (#12481)

This commit is contained in:
Ghom
2020-06-09 12:26:19 +02:00
committed by GitHub
parent 97a789b5fe
commit 77a6511cc7
2 changed files with 8 additions and 1 deletions
@@ -19,6 +19,13 @@
open = round(rand(0, 1))
update_icon()
/obj/structure/toilet/Destroy()
if(loc)
for(var/A in contents)
var/atom/movable/AM = A
AM.forceMove(loc)
return ..()
/obj/structure/toilet/attack_hand(mob/living/user)
. = ..()
if(.)