wesnoth/data/multiplayer/scenarios/2p_Hornshark_Island.lua
Charles Dang 5f0bdb4c28 Made Hornshark Island Lua file an actual Lua file
[ci skip]

Also simplified the Lua contained within. No need to create a local function just to immediately invoke it.
2017-10-31 09:35:27 +11:00

4 lines
122 B
Lua

for i, side in ipairs(wesnoth.get_sides({})) do
wesnoth.set_variable("p" .. tostring(i) .. "_faction", side.faction)
end