removed some unneeded icon update calls (haha totally unneeded yeah)

replaced complete regenerate_icons with just body_update in case of dropping limb
This commit is contained in:
Chinsky
2013-11-08 04:34:37 +04:00
parent 6d369caae7
commit 3992888ea6

View File

@@ -415,10 +415,6 @@ This function completely restores a damaged organ to perfect condition.
var/n_is = damage_state_text() var/n_is = damage_state_text()
if (n_is != damage_state) if (n_is != damage_state)
damage_state = n_is damage_state = n_is
if(status & ORGAN_DESTROYED)
owner.update_body(1)
else
owner.UpdateDamageIcon(1)
return 1 return 1
return 0 return 0
@@ -550,7 +546,7 @@ This function completely restores a damaged organ to perfect condition.
var/lol = pick(cardinal) var/lol = pick(cardinal)
step(organ,lol) step(organ,lol)
owner.regenerate_icons() owner.update_body(1)
/**************************************************** /****************************************************