Fix tokens not being reload after exiting gamemode

This commit is contained in:
Jasper "JappaWakka" Speelman 2022-07-22 14:46:18 +02:00
parent 724a4a642d
commit d1698db4ba
1 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,8 @@
Chat.ClearChat() Chat.ClearChat()
ScriptStorage.Clear() ScriptStorage.Clear()
GameModeManager.SetGameModePointer("Kolben") GameModeManager.SetGameModePointer("Kolben")
Localization.LoadTokenFile(GameModeManager.ActiveGameMode.LocalizationsPath, False) Localization.LocalizationTokens.Clear()
Localization.LoadTokenFile(GameMode.DefaultLocalizationsPath, False)
Core.SetScreen(New PressStartScreen()) Core.SetScreen(New PressStartScreen())
Core.Player.loadedSave = False Core.Player.loadedSave = False
End Sub End Sub