MP Hornshark Island: move short Lua file to inline
This commit is contained in:
parent
6b3245f643
commit
b72ec6e654
2 changed files with 3 additions and 4 deletions
|
@ -66,7 +66,9 @@
|
|||
name=prestart
|
||||
|
||||
[lua]
|
||||
code= << wesnoth.dofile("multiplayer/scenarios/2p_Hornshark_Island.lua") >>
|
||||
code= << for i, side in ipairs(wesnoth.sides.find({})) do
|
||||
wml.variables["p" .. tostring(i) .. "_faction"] = side.faction
|
||||
end >>
|
||||
[/lua]
|
||||
|
||||
[fire_event]
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
for i, side in ipairs(wesnoth.sides.find({})) do
|
||||
wml.variables["p" .. tostring(i) .. "_faction"] = side.faction
|
||||
end
|
Loading…
Add table
Reference in a new issue