[Commits] [wesnoth/wesnoth] 5d3fec: Some small wesnoth.dofile fixes

GitHub noreply at github.com
Sun May 7 05:52:28 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5d3fec98c5fde51b30c04cc9957886eb985f2b2c
      https://github.com/wesnoth/wesnoth/commit/5d3fec98c5fde51b30c04cc9957886eb985f2b2c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-07 (Sun, 07 May 2017)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Some small wesnoth.dofile fixes
- Ensure wesnoth.dofile definitely returns nil if it fails
- If calling a function yields a non-string error, at least print its type
  instead of calling it a "null string"
- Error if wesnoth.dofile is not passed a string as the filename





More information about the Commits mailing list