Adds CI to prevent manual calls of update_icon_state, update_overlay, etc. (#27010)

* CI something something

* last fix
This commit is contained in:
Contrabang
2024-10-22 12:46:00 +00:00
committed by GitHub
parent 6325c6dd8b
commit e3c0198737
28 changed files with 61 additions and 41 deletions
@@ -22,7 +22,7 @@
E.Grant(src)
revive()
regenerate_icons()
update_name()
update_appearance(UPDATE_NAME)
return
set_stat(DEAD) //Temporarily set to dead for icon updates
@@ -113,7 +113,7 @@
/mob/living/simple_animal/slime/proc/set_colour(new_colour)
colour = new_colour
update_name()
update_appearance(UPDATE_NAME)
slime_mutation = mutation_table(colour)
var/sanitizedcolour = replacetext(colour, " ", "")
coretype = text2path("/obj/item/slime_extract/[sanitizedcolour]")
@@ -132,7 +132,7 @@
for(var/datum/action/innate/slime/evolve/E in actions)
E.Remove(src)
regenerate_icons()
update_name()
update_appearance(UPDATE_NAME)
else
to_chat(src, "<i>I am not ready to evolve yet...</i>")
else