Skip to content

Commit

Permalink
fix: 1.1.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraZiling committed Aug 17, 2024
1 parent 0f34a51 commit 913cfc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hollow/Services/GameService/GameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public bool ValidateGameDirectory(string directoryPath)
GameVersion = configIniFile.First(line => line.StartsWith("game_version=")).Split("=")[1];
GameBiz = configIniFile.First(line => line.StartsWith("cps=")).Split("=")[1] switch
{
"hyp_mihoyo" => GameServer.China,
"hyp_hoyoverse" => GameServer.Global,
"mihoyo" => GameServer.China,
"hoyoverse" => GameServer.Global,
_ => throw new ArgumentOutOfRangeException()
};
Log.Information("[GameService] Game directory validated ({path})", directoryPath);
Expand Down

0 comments on commit 913cfc3

Please sign in to comment.