Fixed crash when disconnecting with custom models in the level

This commit is contained in:
MysterD 2022-05-09 08:40:18 -07:00
parent d55f8a39ef
commit 099a2462ed
1 changed files with 1 additions and 1 deletions

View File

@ -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