mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 17:02:56 +00:00
EI: Fix Lua syntax error from 3783693cbe95
[ci skip] (cherry-picked from commit 4d86af796ca46f204f958b712465a05bdfa0de75)
This commit is contained in:
parent
733d8ff979
commit
fa1e37d71d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user