[Commits] [wesnoth/wesnoth] 1fc27b: replace wesnoth.is_synced() with wesnoth.current.s...
GitHub
noreply at github.com
Sun May 18 21:50:08 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 1fc27bb9e7ce404426f20d5d34521c7ed04d1f76
https://github.com/wesnoth/wesnoth/commit/1fc27bb9e7ce404426f20d5d34521c7ed04d1f76
Author: gfgtdf <tischpapier at gmail.com>
Date: 2014-05-18 (Sun, 18 May 2014)
Changed paths:
M src/scripting/lua.cpp
Log Message:
-----------
replace wesnoth.is_synced() with wesnoth.current.synced_state
making it a proxy field instead of a function makes it easier to use.
Also we now return a string so the luadev can distinuish between
'local_choice' and 'unsynced' which might be useful because [do_command]
cannot be used from 'local_choice'.
More information about the Commits
mailing list