mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 16:15:40 +00:00
fixed turn end and turn x end events fired with $turn_number...
...from next turn in replays
This commit is contained in:
parent
829664a49f
commit
9dad797217
@ -410,8 +410,8 @@ void replay_controller::play_side(const unsigned int /*team_index*/, bool){
|
||||
player_number_++;
|
||||
|
||||
if (static_cast<size_t>(player_number_) > teams_.size()) {
|
||||
tod_manager_.next_turn();
|
||||
finish_turn();
|
||||
tod_manager_.next_turn();
|
||||
player_number_ = 1;
|
||||
current_turn_++;
|
||||
gui_->new_turn();
|
||||
|
Loading…
x
Reference in New Issue
Block a user