We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f34a51 commit 913cfc3Copy full SHA for 913cfc3
Hollow/Services/GameService/GameService.cs
@@ -29,8 +29,8 @@ public bool ValidateGameDirectory(string directoryPath)
29
GameVersion = configIniFile.First(line => line.StartsWith("game_version=")).Split("=")[1];
30
GameBiz = configIniFile.First(line => line.StartsWith("cps=")).Split("=")[1] switch
31
{
32
- "hyp_mihoyo" => GameServer.China,
33
- "hyp_hoyoverse" => GameServer.Global,
+ "mihoyo" => GameServer.China,
+ "hoyoverse" => GameServer.Global,
34
_ => throw new ArgumentOutOfRangeException()
35
};
36
Log.Information("[GameService] Game directory validated ({path})", directoryPath);
0 commit comments