diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-06 05:08:50 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-06 05:08:50 +0200 |
commit | da30e788fea8391efecc648ae0efc8db665a1a02 (patch) | |
tree | 10b16748e87b038c54deb117040b0586559d12f5 /src | |
parent | 7df0cc8c37ad0d10adc2181e6c3605049f9566f1 (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.cc | 2 |
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(); } |