mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 23:54:14 +01:00
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:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user