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()
This commit is contained in:
gfgtdf 2016-03-05 21:46:18 +01:00
parent c266747019
commit 3989199a88

View file

@ -714,6 +714,7 @@ static int do_gameloop(const std::vector<std::string>& args)
handle_lua_script_args(&*game,cmdline_opts);
plugins.play_slice();
plugins.play_slice();
if(cmdline_opts.unit_test) {