Fix .git folder check and GetGamePath()

This commit is contained in:
Tixx
2025-06-08 13:45:09 +02:00
parent 6c740e2562
commit 8b96ffb098
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ void PreGame(const beammp_fs_string& GamePath) {
beammp_fs_string Target(GetGamePath() + beammp_wide("mods/unpacked/beammp"));
if (fs::is_directory(Target) && !fs::is_directory(Target + "/.git")) {
if (fs::is_directory(Target) && !fs::is_directory(Target + beammp_wide("/.git"))) {
fs::remove_all(Target);
}
}