Skip to content

Commit

Permalink
Enable the GUI2 lobby in the GUI2 lobby test
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Sep 17, 2016
1 parent a6bbcfb commit 51ce1c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions host-gui2.lua
Expand Up @@ -23,6 +23,8 @@ local function plugin()

log("hello world")

wesnoth.preferences.new_lobby = true

repeat
events, context, info = coroutine.yield()
idle_text("in " .. info.name .. " waiting for titlescreen or lobby")
Expand Down
2 changes: 2 additions & 0 deletions host.lua
Expand Up @@ -23,6 +23,8 @@ local function plugin()

log("hello world")

wesnoth.preferences.new_lobby = false

repeat
events, context, info = coroutine.yield()
idle_text("in " .. info.name .. " waiting for titlescreen or lobby")
Expand Down
2 changes: 2 additions & 0 deletions join-gui2.lua
Expand Up @@ -42,6 +42,8 @@ local function plugin()

log("hello world")

wesnoth.preferences.new_lobby = true

repeat
events, context, info = coroutine.yield()
idle_text("in " .. info.name .. " waiting for titlescreen or lobby")
Expand Down
2 changes: 2 additions & 0 deletions join.lua
Expand Up @@ -42,6 +42,8 @@ local function plugin()

log("hello world")

wesnoth.preferences.new_lobby = false

repeat
events, context, info = coroutine.yield()
idle_text("in " .. info.name .. " waiting for titlescreen or lobby")
Expand Down

0 comments on commit 51ce1c4

Please sign in to comment.