[MIRROR] Fixes a good few improper overlay icon_states, fuck gun code edition (#6774)

* Fixes a good few improper overlay icon_states, fuck gun code edition

* Update rifle.dm

* Update laser.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-07-08 02:11:58 +01:00
committed by GitHub
parent bf6e845b30
commit af778bae0a
21 changed files with 49 additions and 29 deletions
@@ -66,7 +66,8 @@
var/pos = 2+spellnum*31
our_rune.button.screen_loc = "6:[pos],4:-2"
our_rune.button.moved = "6:[pos],4:-2"
add_overlay("glow_[icon_state]_[theme]")
if(icon_state)
add_overlay("glow_[icon_state]_[theme]")
/mob/living/simple_animal/hostile/construct/Destroy()
QDEL_NULL(our_rune)