Skip to content

Commit

Permalink
make host.lua use mp test scenario "test1"
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Dec 20, 2014
1 parent fbb0ac5 commit 875f128
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions host.lua
Expand Up @@ -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({})

Expand Down

0 comments on commit 875f128

Please sign in to comment.