From 099a2462ed0923a885ccc9cb5b4fc4f0c360d954 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 9 May 2022 08:40:18 -0700 Subject: [PATCH] Fixed crash when disconnecting with custom models in the level --- data/dynos_mgr_actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dynos_mgr_actor.cpp b/data/dynos_mgr_actor.cpp index cc1ec52a..0e607dff 100644 --- a/data/dynos_mgr_actor.cpp +++ b/data/dynos_mgr_actor.cpp @@ -47,7 +47,7 @@ void DynOS_Actor_AddCustom(const SysPath &aFilename, const char *aActorName) { // Add to custom actors if (georef == NULL) { DynosCustomActors().Add({ actorName, geoLayout }); - georef = geoLayout; + georef = NULL; } // Alloc and init the actors gfx list