[Commits] [wesnoth/wesnoth] 6a0591: prevent user actions while executing unsynced wml ...
GitHub
noreply at github.com
Wed Sep 20 19:23:25 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 6a059111aaaddd76160f65abeadceef61c678627
https://github.com/wesnoth/wesnoth/commit/6a059111aaaddd76160f65abeadceef61c678627
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2017-09-20 (Wed, 20 Sep 2017)
Changed paths:
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
prevent user actions while executing unsynced wml actions 2
This should fix #2021. The reason why we didn't just add one events::command_disabler in the code that starts the unsyned event hander (moving the events::command_disabler up in wml_menu_item::fire_event) is the we want commnds_disables to be for the (wml) code that handles the menu items so that it knows that it can use issue synced commands via [do_command]
More information about the Commits
mailing list