[Commits] [wesnoth/wesnoth] 201d83: fix [store_side] to allow explicit indexes

GitHub noreply at github.com
Mon Jan 5 16:11:27 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 201d83f608d0838bf21b9698b45bff0037f3988f
      https://github.com/wesnoth/wesnoth/commit/201d83f608d0838bf21b9698b45bff0037f3988f
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2015-01-05 (Mon, 05 Jan 2015)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  fix [store_side] to allow explicit indexes

[store_side] variable= some_variable[0] ... [/store_side] would result in a wesnoth.set_variable(some_variable[0][0]. ...)  call which we don't allow in master after https://github.com/wesnoth/wesnoth/pull/231. 1.12 would just ignore the second index in this case. I decided to rather fix [store_side] than to restore the 1.12 behaviour of set_variable (which wouldn't be harder).





More information about the Commits mailing list