EI: Fix Lua syntax error from 3783693cbe

[ci skip]

(cherry-picked from commit 4d86af796c)
This commit is contained in:
Lari Nieminen 2018-03-22 09:51:37 +02:00 committed by GitHub
parent 733d8ff979
commit fa1e37d71d

View file

@ -75,7 +75,7 @@ function wml_actions.bandit_village_capture(cfg)
for i=1,#bandit_villages do
if bandit_villages[i].x == x and bandit_villages[i].y == y then
vars[string.format("bandit_villages[%d]"] = i - 1
vars[string.format("bandit_villages[%d]")] = i - 1
local visited = vars.villages_visited
vars.villages_visited = visited + 1