Skip to content

Commit aea3057

Browse files
committed
fixed some issue that arise when assets are not unloaded prior to the load call
1 parent d8dd349 commit aea3057

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

memspikefix.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ local function MakeLazyLoader(prefab)
1313
local current_fn
1414

1515
local function new_fn(...)
16+
_G.TheSim:UnloadPrefabs {prefab.name}
1617
_G.TheSim:LoadPrefabs {prefab.name}
1718

1819
-- Ensures this only runs once, for efficiency.

0 commit comments

Comments
 (0)