Skip to content

Commit 4c2134f

Browse files
committed
fix: allow cleaning if just mp or sp installed
1 parent f497048 commit 4c2134f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Games/H1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override async Task Process()
3737

3838
private async Task CleanGameFiles()
3939
{
40-
if (!File.Exists(COMMON_MP_FASTFILE) || !File.Exists(COMMON_FASTFILE))
40+
if (!File.Exists(COMMON_MP_FASTFILE) && !File.Exists(COMMON_FASTFILE))
4141
{
4242
Helpers.WriteColor("Your game is already clean!\nIf not, make sure you have put the file in the correct game folder.\n", ConsoleColor.Yellow);
4343
return;

Games/IW6.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override async Task Process()
3737

3838
private async Task CleanGameFiles()
3939
{
40-
if (!File.Exists(COMMON_MP_FASTFILE) || !File.Exists(COMMON_FASTFILE))
40+
if (!File.Exists(COMMON_MP_FASTFILE) && !File.Exists(COMMON_FASTFILE))
4141
{
4242
Helpers.WriteColor("Your game is already clean!\nIf not, make sure you have put the file in the correct game folder.\n", ConsoleColor.Yellow);
4343
return;

Games/IW7.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override async Task Process()
3737

3838
private async Task CleanGameFiles()
3939
{
40-
if (!File.Exists(COMMON_MP_FASTFILE) || !File.Exists(COMMON_FASTFILE))
40+
if (!File.Exists(COMMON_MP_FASTFILE) && !File.Exists(COMMON_FASTFILE))
4141
{
4242
Helpers.WriteColor("Your game is already clean!\nIf not, make sure you have put the file in the correct game folder.\n", ConsoleColor.Yellow);
4343
return;

Games/S1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public override async Task Process()
4848

4949
private async Task CleanGameFiles()
5050
{
51-
if (!File.Exists(COMMON_MP_FASTFILE) || !File.Exists(COMMON_FASTFILE))
51+
if (!File.Exists(COMMON_MP_FASTFILE) && !File.Exists(COMMON_FASTFILE))
5252
{
5353
Helpers.WriteColor("Your game is already clean!\nIf not, make sure you have put the file in the correct game folder.\n", ConsoleColor.Yellow);
5454
return;

0 commit comments

Comments
 (0)