Use a transient message for the 'cannot end turn yet' popup
This commit is contained in:
parent
34a0b8197b
commit
bbc956998c
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ namespace { // Helpers for menu_handler::end_turn()
|
|||
bool menu_handler::end_turn(int side_num)
|
||||
{
|
||||
if(!gamedata().allow_end_turn()) {
|
||||
gui2::show_message((*gui_).video(), "", _("You cannot end your turn yet!"), gui2::tmessage::ok_button);
|
||||
gui2::show_transient_message((*gui_).video(), "", _("You cannot end your turn yet!"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue