Fixed storages contents not updating in some cases.

This commit is contained in:
xxalpha
2015-05-18 23:39:09 +01:00
parent 46f2721cdf
commit dca4fbbefd
4 changed files with 34 additions and 7 deletions
+10 -2
View File
@@ -23,10 +23,18 @@
else if(istype(over_object, /obj/screen))
switch(over_object.name)
if("r_hand")
M.unEquip(src)
if(istype(loc,/obj/item/weapon/storage))
var/obj/item/weapon/storage/S = loc
S.remove_from_storage(src,M)
else
M.unEquip(src)
M.put_in_r_hand(src)
if("l_hand")
M.unEquip(src)
if(istype(loc,/obj/item/weapon/storage))
var/obj/item/weapon/storage/S = loc
S.remove_from_storage(src,M)
else
M.unEquip(src)
M.put_in_l_hand(src)
add_fingerprint(M)