mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
This should hopefully reduce processing requirements, by not rebuilding icons every tick.
(Ported oldcode, all props to Strumpetplaya)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user