(8015dd67d) Show a language selection prompt when launching the game for the first time (WIP)
This commit is contained in:
@@ -279,6 +279,8 @@ namespace Barotrauma
|
||||
}
|
||||
public static bool ShowUserStatisticsPrompt { get; set; }
|
||||
|
||||
public bool ShowLanguageSelectionPrompt { get; set; }
|
||||
|
||||
public GameSettings()
|
||||
{
|
||||
SelectedContentPackages = new HashSet<ContentPackage>();
|
||||
@@ -764,6 +766,7 @@ namespace Barotrauma
|
||||
CheckBindings(!fileFound);
|
||||
if (!fileFound)
|
||||
{
|
||||
ShowLanguageSelectionPrompt = true;
|
||||
SaveNewPlayerConfig();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user