mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 00:11:01 +00:00
Enforce some GUI consistency on the "not an MP save" alert
* Use gui2::show_transient_error_message(). * Add missing stop at the end of the message.
This commit is contained in:
parent
0e61ab60a4
commit
51514b635d
@ -29,6 +29,7 @@
|
||||
#include "gui/dialogs/game_save.hpp"
|
||||
#include "gui/dialogs/message.hpp"
|
||||
#include "gui/dialogs/campaign_difficulty.hpp"
|
||||
#include "gui/dialogs/transient_message.hpp"
|
||||
#include "gui/widgets/settings.hpp"
|
||||
#include "gui/widgets/window.hpp"
|
||||
#include "log.hpp"
|
||||
@ -689,7 +690,7 @@ void loadgame::load_multiplayer_game()
|
||||
}
|
||||
|
||||
if(gamestate_.classification().campaign_type != "multiplayer") {
|
||||
gui2::show_message(gui_.video(), "", _("This is not a multiplayer save"));
|
||||
gui2::show_transient_error_message(gui_.video(), _("This is not a multiplayer save."));
|
||||
throw load_game_cancelled_exception();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user