[wesnoth-commits] [wesnoth/wesnoth] f09352: fix get_variable in map generators

GitHub noreply at github.com
Sat Dec 8 23:05:48 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f09352570c147a19ed034bdaa98075cc1395851c
      https://github.com/wesnoth/wesnoth/commit/f09352570c147a19ed034bdaa98075cc1395851c
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-12-09 (Sun, 09 Dec 2018)

  Changed paths:
    M src/scripting/mapgen_lua_kernel.cpp

  Log Message:
  -----------
  fix get_variable in map generators

previously `get_varible("t.length")` might return nil when it should return 0



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list