From 3989199a88e0cc608832faf585a7c3e863fa496d Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Sat, 5 Mar 2016 21:46:18 +0100 Subject: [PATCH] Attempt to fix travis mp tests For some unknown reason host lua script starts a sp game after mp game is finished. This commit attempts to fix thiy by giving the lua plugins a second chance to call context.exit() --- src/wesnoth.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wesnoth.cpp b/src/wesnoth.cpp index cf3a85fef083..0ad86f28db4d 100644 --- a/src/wesnoth.cpp +++ b/src/wesnoth.cpp @@ -714,6 +714,7 @@ static int do_gameloop(const std::vector& args) handle_lua_script_args(&*game,cmdline_opts); + plugins.play_slice(); plugins.play_slice(); if(cmdline_opts.unit_test) {