Merge pull request #99 from Peter0x44/solo_nogray_restart_button

This commit is contained in:
cypress 2024-12-19 13:36:23 -08:00 committed by GitHub
commit 54502a54c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 == "")
@ -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 == "")
@ -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");
@ -122,4 +122,4 @@ void() Menu_Pause =
}
sui_pop_frame();
};
};