Clicking on storage boxes now properly puts stuff in storage.

Stole fix from TG.
This commit is contained in:
Chinsky
2013-06-05 19:43:01 +04:00
parent 9a930d0c50
commit 65880df974

View File

@@ -62,9 +62,11 @@
name = "storage"
master = null
/obj/screen/storage/attackby(W, mob/user as mob)
src.master.attackby(W, user)
return
/obj/screen/storage/attack_hand(mob/user)
if(master)
var/obj/item/I = user.get_active_hand()
if(I)
master.attackby(I, user)
/obj/screen/zone_sel
name = "Damage Zone"