This should hopefully reduce processing requirements, by not rebuilding icons every tick.

(Ported oldcode, all props to Strumpetplaya)
This commit is contained in:
SkyMarshal
2012-02-13 21:54:22 -07:00
parent 42be0feff6
commit 0fe42327a5
12 changed files with 18 additions and 4 deletions
@@ -266,6 +266,7 @@ ZIPPO
else
user.r_hand = W
W.layer = 20
user.update_clothing()
else
return ..()
src.update_icon()
@@ -87,6 +87,7 @@
spawn( 0 )
O.process()
user.update_clothing()
return
else
for(var/mob/O in viewers(M, null))
@@ -29,6 +29,7 @@
dropped(source)
if (W)
W.layer = initial(W.layer)
source.update_clothing()
return