Fixing some infinite loops in gun update_icon() calls.

This commit is contained in:
Zuhayr
2016-01-22 04:22:49 +10:30
parent 8f3b545b10
commit ab9574ee06
4 changed files with 8 additions and 9 deletions

View File

@@ -32,7 +32,7 @@
if(istype(M) && !issmall(M) && ((M.r_hand == src && !M.l_hand) || (M.l_hand == src && !M.r_hand)))
wielded = 1
force = force_wielded
name = "[base_name] (Wielded)"
name = "[base_name] (wielded)"
update_icon()
else
wielded = 0