Skip to content

Commit

Permalink
Merge pull request #99 from Peter0x44/solo_nogray_restart_button
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy authored Dec 19, 2024
2 parents 63e0581 + b36ca9f commit 54502a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/menu/menu_paus.qc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ string(string prev_id) Menu_Pause_GetNextButton =
}
}

if (player_count != 0 && ret == "pm_reloa")
if (player_count != 1 && ret == "pm_reloa")
ret = "pm_opts";

if (ret == "")
Expand All @@ -47,7 +47,7 @@ string(string next_id) Menu_Pause_GetPreviousButton =
}
}

if (player_count != 0 && ret == "pm_reloa")
if (player_count != 1 && ret == "pm_reloa")
ret = "pm_resum";

if (ret == "")
Expand Down Expand Up @@ -86,7 +86,7 @@ void() Menu_Pause =
{
Menu_Button(1, "pm_resum", "RESUME CARNAGE", "Return to Game.") ? ToggleMenu() : 0;

if (player_count == 0)
if (player_count == 1)
Menu_Button(2, "pm_reloa", "RESTART LEVEL", "Tough luck? Give things another go.") ? Menu_Pause_EnterSubMenu(1) : 0;
else
Menu_GreyButton(2, "RESTART LEVEL");
Expand Down Expand Up @@ -122,4 +122,4 @@ void() Menu_Pause =
}

sui_pop_frame();
};
};

0 comments on commit 54502a5

Please sign in to comment.