Fixes Issue 1071 - Kitchen trays doing crazy stuff when a person switch it between their hands.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5017 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
aranclanos@hotmail.com
2012-11-06 19:33:35 +00:00
parent 20c1955163
commit 9fcf5b4a63
+5 -1
View File
@@ -235,7 +235,6 @@
return val
/obj/item/weapon/tray/pickup(mob/user)
overlays = null
if(!isturf(loc))
return
@@ -257,6 +256,11 @@
overlays += image("icon" = I.icon, "icon_state" = I.icon_state, "layer" = 30 + I.layer)
/obj/item/weapon/tray/dropped(mob/user)
var/mob/living/M
for(M in src.loc) //to handle hand switching
return
var/foundtable = 0
for(var/obj/structure/table/T in loc)
foundtable = 1