Fix replay mode black bg startup menu

This commit is contained in:
2024-11-26 11:15:04 -06:00
committed by Celtic Minstrel
parent ec811168c5
commit c537a3701c

View File

@@ -50,8 +50,13 @@ void handle_startup_button_click(eStartButton btn, eKeyMod mods) {
std::string scen_name; std::string scen_name;
bool force_party = false; bool force_party = false;
if(replaying){
// Show the whole menu, not just a black bg, before handling the button click lightning-fast
put_background();
draw_startup(0);
}
draw_start_button(btn,5); draw_start_button(btn,5);
mainPtr.display(); // TODO: I suspect this won't work mainPtr.display();
play_sound(37, time_in_ticks(5)); play_sound(37, time_in_ticks(5));
draw_start_button(btn,0); draw_start_button(btn,0);
switch(btn) { switch(btn) {