mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 20:53:51 +00:00
Fix a unit test
For some reason the macro RESULT causes the test to crash Lua. Don't see why. Don't know why this fixes it. But this gets the tests working.
This commit is contained in:
parent
9d9cc79cf6
commit
f4e2cc6681
@ -90,11 +90,17 @@
|
||||
[/event]
|
||||
[event]
|
||||
name=success
|
||||
{SUCCEED}
|
||||
[endlevel]
|
||||
result=victory
|
||||
linger_mode = yes
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[event]
|
||||
name=fail
|
||||
{FAIL}
|
||||
[endlevel]
|
||||
result=defeat
|
||||
linger_mode = yes
|
||||
[/endlevel]
|
||||
[/event]
|
||||
)}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user