From da30e788fea8391efecc648ae0efc8db665a1a02 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 6 Aug 2013 05:08:50 +0200 Subject: Slightly cleaner this way. It's true that the LuaExecFile doesn't need to re-run after yielding once, but it does support it, so let's just follow a canonical style. --- src/LuaLoad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaLoad.cc b/src/LuaLoad.cc index a2f12ea..79453ea 100644 --- a/src/LuaLoad.cc +++ b/src/LuaLoad.cc @@ -46,8 +46,8 @@ struct sLua_LuaLoad { h.asA()->open(); status = CREATETASK; case CREATETASK: - status = WAITTASK; execFile->exec(L); + status = WAITTASK; case WAITTASK: execFile->throwError(); } -- cgit v1.2.3