[Commits] [wesnoth/wesnoth] d31253: bugfix: invalid variable reference

GitHub noreply at github.com
Sat Nov 22 21:43:55 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d31253f585bd1e111705f59bdc37012ff6675f38
      https://github.com/wesnoth/wesnoth/commit/d31253f585bd1e111705f59bdc37012ff6675f38
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M data/lua/location_set.lua

  Log Message:
  -----------
  bugfix: invalid variable reference

variable v does not exist... the function is not commented so I
can't be sure of the intention, but the most backwards-compatible
fix is to not pass argument v, so that it will be nil as before.

this bug was revealed by enabling lua "strict mode"





More information about the Commits mailing list