Removed unused code in hologram.dm

Fixes displaycase when you could put a new item in it w/o first removing the first one.
Fixes parrot going through windows when getting on its perch, and some other cases of in_range() instead of Ajacent().
Fixes not being able to change transfer amount of reagent containers while buckled.
Remove unused sprites in stationobjs.dmi
This commit is contained in:
phil235
2015-10-11 20:18:13 +02:00
parent 90f44c4e0e
commit c19d1c1427
5 changed files with 7 additions and 35 deletions
+2 -2
View File
@@ -130,7 +130,7 @@
user << "<span class='notice'>You [open ? "close":"open"] the [src]</span>"
open = !open
update_icon()
else if(open)
else if(open && !showpiece)
if(user.unEquip(W))
W.loc = src
showpiece = W
@@ -195,7 +195,7 @@
if(istype(I, /obj/item/weapon/electronics/airlock))
user << "<span class='notice'>You start installing the electronics into [src]...</span>"
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
if(user.unEquip(I) && do_after(user, 30, target = src))
if(user.unEquip(I) && do_after(user, 30, target = src))
I.loc = src
electronics = I
user << "<span class='notice'>You install the airlock electronics.</span>"