Use a transient message for the 'cannot end turn yet' popup

This commit is contained in:
Charles Dang 2016-03-23 02:00:36 +11:00
parent 34a0b8197b
commit bbc956998c

View file

@ -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;
}