8 Commits

Author SHA1 Message Date
Gregory A Lundberg
468f07364e Bug in [for] missing step
https://forums.wesnoth.org/viewtopic.php?t=46450 reports a Lua crash if end is given but step is not. The wiki says the default step is 1. Note that if end is negative, the [for] does nothing (per sniity check).
2017-06-21 20:45:21 -05:00
Celtic Minstrel
41d0a6b3d8 Fix #1688 2017-05-12 17:21:38 -04:00
Celtic Minstrel
8d4cf3cf62 Shorten requires where possible 2017-05-03 02:42:25 -04:00
Celtic Minstrel
5fdb73b92f Fix an error in [for] if step not specified 2016-12-11 18:06:51 -05:00
Celtic Minstrel
293151687c Fix number-nil comparison in [for] 2016-10-26 15:15:47 -04:00
fendrin
b9d2ec4409 Renamed [foreach] variable= to array= and item_var= to variable= 2016-08-06 06:20:41 +02:00
Celtic Minstrel
d3374d3670 WML tags fixup 2016-04-04 20:10:52 -04:00
Celtic Minstrel
a791909544 Split the more complicated WML tags into separate Lua files 2016-04-04 17:03:38 -04:00