[Commits] [wesnoth/wesnoth] 0eb25f: Fix wesnoth.print
GitHub
noreply at github.com
Thu Nov 23 17:00:00 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 0eb25f41d0c39b96c68d26d108ba0ac40250e6ac
https://github.com/wesnoth/wesnoth/commit/0eb25f41d0c39b96c68d26d108ba0ac40250e6ac
Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
Date: 2017-11-23 (Thu, 23 Nov 2017)
Changed paths:
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Fix wesnoth.print
Pass each parameter through Lua tostring() to convert to strings. This also allows meta-method tostring on userdata.
This aligns the operation of wesnoth print() to be closer to what a Lua programmer would expect from the normal Lua print() which is not available.
Closes Issue #2236
More information about the Commits
mailing list