Porting update_icon improvements. Part 1.

This commit is contained in:
Ghommie
2020-02-27 01:21:03 +01:00
parent 5bd62d129f
commit fc76cd9a9b
122 changed files with 733 additions and 723 deletions
+3 -3
View File
@@ -241,11 +241,11 @@
tank = thetank
update_icon()
/obj/item/pneumatic_cannon/update_icon()
cut_overlays()
/obj/item/pneumatic_cannon/update_overlays()
. = ..()
if(!tank)
return
add_overlay(tank.icon_state)
. += tank.icon_state
/obj/item/pneumatic_cannon/proc/fill_with_type(type, amount)
if(!ispath(type, /obj) && !ispath(type, /mob))