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(.)
@@ -32,7 +32,7 @@
for (var/x in 1 to PILL_STYLE_COUNT)
var/list/SL = list()
SL["id"] = x
SL["htmltag"] = assets.icon_tag("pill[x]")
SL["htmltag"] = assets.icon_class_name("pill[x]")
pillStyles += list(SL)
. = ..()