Skip to content

Commit

Permalink
Update ZDLMainWindow.cpp
Browse files Browse the repository at this point in the history
Fix "deathmatch" bug
  • Loading branch information
danicotra authored Jan 2, 2021
1 parent 8acbe70 commit 493bea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZDLMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ QString ZDLMainWindow::getArgumentsString(bool native_sep)
}

if (tGameType == "2"){
args.append(" -deathmath");
args.append(" -deathmatch");
} else if (tGameType == "3"){
args.append(" -altdeath");
}
Expand Down Expand Up @@ -736,7 +736,7 @@ QStringList ZDLMainWindow::getArgumentsList()
}

if (tGameType == "2"){
args<<"-deathmath";
args<<"-deathmatch";
} else if (tGameType == "3"){
args<<"-altdeath";
}
Expand Down

0 comments on commit 493bea7

Please sign in to comment.