From d1698db4ba7a2916f4f860aa64bc7f07ca157c72 Mon Sep 17 00:00:00 2001 From: "Jasper \"JappaWakka\" Speelman" Date: Fri, 22 Jul 2022 14:46:18 +0200 Subject: [PATCH] Fix tokens not being reload after exiting gamemode --- P3D/Screens/MainMenu/PauseScreen.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/P3D/Screens/MainMenu/PauseScreen.vb b/P3D/Screens/MainMenu/PauseScreen.vb index eb34370b7..2695f2055 100644 --- a/P3D/Screens/MainMenu/PauseScreen.vb +++ b/P3D/Screens/MainMenu/PauseScreen.vb @@ -296,7 +296,8 @@ Chat.ClearChat() ScriptStorage.Clear() GameModeManager.SetGameModePointer("Kolben") - Localization.LoadTokenFile(GameModeManager.ActiveGameMode.LocalizationsPath, False) + Localization.LocalizationTokens.Clear() + Localization.LoadTokenFile(GameMode.DefaultLocalizationsPath, False) Core.SetScreen(New PressStartScreen()) Core.Player.loadedSave = False End Sub