mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[NO GBP] Fixes aquarium props not showing up in the aquarium. (#86618)
## About The Pull Request RegisterSignals apparently doesn't throw warnings when the signals arg is not a list and just silently fails. ## Why It's Good For The Game Fixing stuff. ## Changelog 🆑 fix: Fixed aquarium props not showing up inside the aquarium. /🆑
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
/obj/item/aquarium_prop/Initialize(mapload)
|
||||
. = ..()
|
||||
//It's important that we register the signals before the component is attached.
|
||||
RegisterSignals(src, COMSIG_AQUARIUM_CONTENT_GENERATE_APPEARANCE, PROC_REF(generate_aquarium_appearance))
|
||||
RegisterSignal(src, COMSIG_AQUARIUM_CONTENT_GENERATE_APPEARANCE, PROC_REF(generate_aquarium_appearance))
|
||||
AddComponent(/datum/component/aquarium_content, beauty = beauty)
|
||||
ADD_TRAIT(src, TRAIT_UNIQUE_AQUARIUM_CONTENT, INNATE_TRAIT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user