summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 05:08:50 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 05:08:50 +0200
commitda30e788fea8391efecc648ae0efc8db665a1a02 (patch)
tree10b16748e87b038c54deb117040b0586559d12f5 /src
parent7df0cc8c37ad0d10adc2181e6c3605049f9566f1 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/LuaLoad.cc2
1 files changed, 1 insertions, 1 deletions
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<Input>()->open();
status = CREATETASK;
case CREATETASK:
- status = WAITTASK;
execFile->exec(L);
+ status = WAITTASK;
case WAITTASK:
execFile->throwError();
}