Replacing a loop with the older code.

This commit is contained in:
Zuhayr
2014-12-02 02:58:26 +10:30
parent 33406d6e47
commit 17f32c3ab3

View File

@@ -1245,8 +1245,7 @@
if(copytext(hud.icon_state,1,4) == "hud") //ugly, but icon comparison is worse, I believe
client.images.Remove(hud)
for(var/hud in global_huds)
client.screen.Remove(hud)
client.screen.Remove(global_hud.blurry, global_hud.druggy, global_hud.vimpaired, global_hud.darkMask, global_hud.nvg, global_hud.thermal, global_hud.meson)
update_action_buttons()