mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user