[wesnoth-commits] [wesnoth/wesnoth] a67b9d: lua: Add __tostring to units
jostephd
noreply at github.com
Wed Oct 16 04:13:32 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: a67b9d07ed74f7db066df2cdbf151547093efd2b
https://github.com/wesnoth/wesnoth/commit/a67b9d07ed74f7db066df2cdbf151547093efd2b
Author: josteph <josteph at fastmail.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
M src/scripting/lua_unit.cpp
Log Message:
-----------
lua: Add __tostring to units
Makes it easier to test SUFs with wesnoth.get_units{} in the lua console.
Commit: 8caf887088981fc4a7e4240a8c887c11cea2c775
https://github.com/wesnoth/wesnoth/commit/8caf887088981fc4a7e4240a8c887c11cea2c775
Author: josteph <josteph at fastmail.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
M src/scripting/lua_unit.cpp
M src/scripting/lua_unit.hpp
Log Message:
-----------
lua: Make unit.__tostring report units on recall lists
Compare: https://github.com/wesnoth/wesnoth/compare/942a1d3d6df5...8caf88708898
More information about the Commits
mailing list