Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit d22f5f8

Browse files
committed
Only overwrite ShouldUseAsiaPreferences when as argument
1 parent 9f4260e commit d22f5f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WinterspringLauncher/ProgramStartup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ public static void Main(string[] args)
2020
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
2121
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
2222

23-
LocaleDefaults.ShouldUseAsiaPreferences = args.Contains("--use-asia-defaults");
23+
if (args.Contains("--use-asia-defaults"))
24+
LocaleDefaults.ShouldUseAsiaPreferences = true;
2425

2526
bool weAreOnMacOs = RuntimeInformation.IsOSPlatform(OSPlatform.OSX);
2627
if (weAreOnMacOs)

0 commit comments

Comments
 (0)