mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 17:21:57 +00:00
lock updates during prestart event to try to stop it displaying things
This commit is contained in:
parent
b17bcd6257
commit
c47660de94
@ -478,6 +478,7 @@ LEVEL_RESULT play_level(const game_data& gameinfo, const config& game_config,
|
||||
//pre-start events must be executed before any GUI operation,
|
||||
//as those may cause the display to be refreshed.
|
||||
if(!loading_game) {
|
||||
update_locker lock_display(gui.video());
|
||||
game_events::fire("prestart");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user