[MIRROR] Fixes gondolas turning invisible when given a pet collar. (#1587)

* Fixes gondolas turning invisible when given a pet collar. (#54791)

Gondolas exist as a composite of overlays with a null icon_state.

When you put a pet collar on a gondola, it deletes all the existing overlays, rendering the gondola invisible.

I just overrode the regenerate_icons proc to do nothing for gondolas, because the parent proc is utterly useless to us and we don't need its functionality.

* Fixes gondolas turning invisible when given a pet collar.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-11-07 01:31:17 +01:00
committed by GitHub
parent b1284949ff
commit 8d58bb50bc
@@ -64,6 +64,9 @@
/mob/living/simple_animal/pet/gondola/IsVocal() //Gondolas are the silent walker.
return FALSE
/// Special handling for gondolas, as they don't use icon_states and instead rely on overlays. The parent of this proc deletes all our overlays, so we're overriding it.
/mob/living/simple_animal/pet/gondola/regenerate_icons()
return
#undef GONDOLA_HEIGHT
#undef GONDOLA_COLOR