mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 03:23:20 +00:00
make host.lua use mp test scenario "test1"
This commit is contained in:
parent
fbb0ac5efa
commit
875f12844a
6
host.lua
6
host.lua
@ -44,6 +44,12 @@ local function plugin()
|
||||
idle_text("in " .. info.name .. " waiting for create")
|
||||
until info.name == "Multiplayer Create"
|
||||
|
||||
context.select_type({type = "scenario"})
|
||||
local s = info.find_level({id = "test1"})
|
||||
context.select_level({index = s.index})
|
||||
|
||||
events, context, info = coroutine.yield()
|
||||
|
||||
std_print("host: configuring a game")
|
||||
context.create({})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user