Fix invisible chairs and stools created by the staff of animation (#1745)

Fix invisible chairs and materials things created by the wizard staff of animation
Fixes #1728
This commit is contained in:
Alberyk
2017-02-10 18:11:48 +02:00
committed by skull132
parent 3e0b64ad19
commit 2e1d8bfb5b
3 changed files with 14 additions and 8 deletions
@@ -153,11 +153,8 @@ var/global/list/protected_objects = list(/obj/structure/table, /obj/structure/ca
if((istype(O, /obj/item) || istype(O, /obj/structure)) && !is_type_in_list(O, protected_objects))
O.loc = src
name = O.name
desc = O.desc
icon = O.icon
icon_state = O.icon_state
O.forceMove(src)
appearance = O
icon_living = icon_state
if(istype(O, /obj/structure))
@@ -192,4 +189,4 @@ var/global/list/protected_objects = list(/obj/structure/table, /obj/structure/ca
if(istype(L))
if(prob(15))
L.Weaken(1)
L.visible_message("<span class='danger'>\the [src] knocks down \the [L]!</span>")
L.visible_message("<span class='danger'>\the [src] knocks down \the [L]!</span>")