Merge pull request #9051 from MistakeNot4892/drakeicons

Fixes mistake with drake update_icon.
This commit is contained in:
Atermonera
2023-03-14 00:01:55 -08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
desc = "A rough-walled, shallow den dug into the earth."
density = FALSE
opacity = FALSE
anchored = TRUE
layer = ABOVE_TURF_LAYER
/obj/structure/animal_den/Initialize()

View File

@@ -213,9 +213,9 @@ You can eat glowing tree fruit to fuel your <b>ranged spitting attack</b> and <b
if (sitting)
to_chat(src, SPAN_NOTICE("You are now lying down."))
sitting = FALSE
update_icon()
else
..()
update_icon()
/mob/living/simple_mob/animal/sif/grafadreka/can_projectile_attack(atom/target)
@@ -322,7 +322,7 @@ You can eat glowing tree fruit to fuel your <b>ranged spitting attack</b> and <b
add_images += glow
if (harness)
I = image(harness.icon, "[current_icon_state]-[harness.icon_state]")
I = image(harness.icon, "[icon_state]-[harness.icon_state]")
I.color = harness.color
I.appearance_flags |= (RESET_COLOR|PIXEL_SCALE|KEEP_APART)
add_images += I