Skip to content

Commit

Permalink
fix(rewrite): error on map switch
Browse files Browse the repository at this point in the history
  • Loading branch information
IllustrisJack committed Feb 27, 2023
1 parent 9d812a0 commit b2c32aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/Client/__init__.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function VEManagerClient:_OnLevelLoaded(p_LevelName, p_GameModeName, p_IsDedicat
end

function VEManagerClient:_OnLevelDestroy()
LEVEL_LOADED = false
self:RegisterVars()
m_VisualEnvironmentHandler:OnLevelDestroy()
collectgarbage('collect')
Expand Down

0 comments on commit b2c32aa

Please sign in to comment.