mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 10:40:46 +00:00
Fix .git folder check and GetGamePath()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user