aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension/src/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/register_types.cpp b/extension/src/register_types.cpp
index 4b049ce..84e4dc4 100644
--- a/extension/src/register_types.cpp
+++ b/extension/src/register_types.cpp
@@ -39,7 +39,7 @@ void uninitialize_openvic2_types(ModuleInitializationLevel p_level) {
memdelete(_test_singleton);
Engine::get_singleton()->unregister_singleton("Simulation");
- memdelete(_test_singleton);
+ memdelete(_simulation);
}
extern "C"