[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:
Ghom
2024-09-15 13:57:32 +02:00
committed by GitHub
parent d832da7c0a
commit 2e44894321
@@ -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)