mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 17:22:57 +00:00
Remove useless call to save_blocker
do_init_side() already uses command_disabler (as part of set_scontext_synced) So save_blocker has no effect since the savegame button is disabled.
This commit is contained in:
parent
89ae0419d1
commit
2e6d498318
@ -1318,12 +1318,10 @@ void play_controller::play_side()
|
||||
{
|
||||
do {
|
||||
update_viewing_player();
|
||||
{
|
||||
save_blocker blocker;
|
||||
maybe_do_init_side();
|
||||
if(is_regular_game_end()) {
|
||||
return;
|
||||
}
|
||||
|
||||
maybe_do_init_side();
|
||||
if(is_regular_game_end()) {
|
||||
return;
|
||||
}
|
||||
// This flag can be set by derived classes (in overridden functions).
|
||||
player_type_changed_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user