fix: ClueFinder now deallocates if not singleton

This commit is contained in:
Sara Gerretsen 2025-10-16 14:25:38 +02:00
parent e60cbb94b6
commit 2710ae78c2

View file

@ -9,6 +9,8 @@ void ClueFinder::_bind_methods() {}
void ClueFinder::enter_tree() {
if (singleton_instance == nullptr) {
singleton_instance = this;
} else {
queue_free();
}
}