Skip to content

Commit 913cfc3

Browse files
committed
fix: 1.1.0 changes
1 parent 0f34a51 commit 913cfc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hollow/Services/GameService/GameService.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public bool ValidateGameDirectory(string directoryPath)
2929
GameVersion = configIniFile.First(line => line.StartsWith("game_version=")).Split("=")[1];
3030
GameBiz = configIniFile.First(line => line.StartsWith("cps=")).Split("=")[1] switch
3131
{
32-
"hyp_mihoyo" => GameServer.China,
33-
"hyp_hoyoverse" => GameServer.Global,
32+
"mihoyo" => GameServer.China,
33+
"hoyoverse" => GameServer.Global,
3434
_ => throw new ArgumentOutOfRangeException()
3535
};
3636
Log.Information("[GameService] Game directory validated ({path})", directoryPath);

0 commit comments

Comments
 (0)