Fix mp_tests
Don't know why it's not working but I can get it working by not performing the chat message.
This commit is contained in:
parent
4dbe4fbbb2
commit
11d7b9f0cf
1 changed files with 7 additions and 2 deletions
9
join.lua
9
join.lua
|
@ -95,8 +95,13 @@ local function plugin()
|
|||
|
||||
events, context, info = coroutine.yield()
|
||||
|
||||
context.chat({message = "done first join"})
|
||||
|
||||
-- Don't know why THIS context has to chat member but it doesn't
|
||||
-- Adding the guard if to bypass a script crash and get mp_tests running.
|
||||
-- GAL 28NOV2017
|
||||
if context.chat then
|
||||
context.chat({message = "done first join"})
|
||||
end
|
||||
|
||||
while not (info.name == "Dialog" or info.name == "Multiplayer Join") do
|
||||
if context.join then
|
||||
context.join({})
|
||||
|
|
Loading…
Add table
Reference in a new issue