mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 04:09:49 +00:00
fix failing lua_get_sides test
This commit is contained in:
parent
0769824821
commit
0241f5687e
@ -3,7 +3,7 @@
|
||||
name = prestart
|
||||
[lua]
|
||||
code = << local s = wesnoth.get_sides({})
|
||||
local result = (s[1].side == 1) and (s[1].name == "Alice") and (s[2].side == 2) and (s[2].name == "Bob")
|
||||
local result = (s[1].side == 1) and (s[2].side == 2)
|
||||
wesnoth.set_variable("result", result) >>
|
||||
[/lua]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user