Skip to content

Commit

Permalink
LoW S3: adapt Urudin retreat AI to new Lua engine syntax
Browse files Browse the repository at this point in the history
This is needed due to the recent refactor of the Lua AI engine in
commit f8f5557 (and related commits).

This fixes bug #24679.
  • Loading branch information
mattsc committed Jun 5, 2016
1 parent 1dfc56f commit 79015f0
Showing 1 changed file with 0 additions and 11 deletions.
Expand Up @@ -39,16 +39,6 @@
[/shift_labels]
[/event]

[event]
name=preload
first_time_only=no
[lua]
code = <<
ai = {}
>>
[/lua]
[/event]

{LOW_MASK 03_Kalian_under_Attack.mask (-7) (-7)}
#### /Map setup ####

Expand Down Expand Up @@ -190,7 +180,6 @@
[engine]
name=lua
code=<<
ai = ...
local my_ai = { }

function my_ai:retreat()
Expand Down

0 comments on commit 79015f0

Please sign in to comment.