Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bone committed May 17, 2020
1 parent d821641 commit 23e0777
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripting/pugsetup/util.sp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ stock void Unpause() {

stock void RestartGame(int delay) {
ServerCommand("mp_restartgame %d", delay);
if (!g_EnableFriendlyFire){
if (g_EnableFriendlyFire){
ServerCommand("mp_friendlyfire 1");
} else {
ServerCommand("mp_friendlyfire 0");
}
}
Expand Down

0 comments on commit 23e0777

Please sign in to comment.