mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 14:07:38 +00:00
Merge pull request #5943 from mattsc/gamestate_synced_command
Fix custom synced commands not changing the AI game state
This commit is contained in:
commit
93d501d9a4
@ -338,6 +338,7 @@ WML_HANDLER_FUNCTION(do_command,, cfg)
|
||||
/*show*/ true,
|
||||
/*error_handler*/ &on_replay_error
|
||||
);
|
||||
ai::manager::get_singleton().raise_gamestate_changed();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user