diff options
| author | jussi | 2022-11-14 21:31:19 +0200 |
|---|---|---|
| committer | jussi | 2022-11-14 21:31:19 +0200 |
| commit | 8c27a508a4ae525ffedf47606dda1795025468f6 (patch) | |
| tree | 564238dbcaba3b5c1818e262b98e2bf27f7fcda5 /src | |
| parent | 9da3fe67273b84f972f322735b0631947fcbc660 (diff) | |
| download | reilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.tar.gz reilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.tar.bz2 reilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.zip | |
luaInit was called two times.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lua_core.c | 1 | ||||
| -rw-r--r-- | src/state.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index 5e20cd3..ac0ba32 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -527,7 +527,6 @@ bool luaInit() { return false; } - // luaRegister(); defineGlobals(); return true; diff --git a/src/state.c b/src/state.c index 4f7e302..178c911 100644 --- a/src/state.c +++ b/src/state.c @@ -108,10 +108,6 @@ bool stateInit( const char *exePath ) { if ( state->run ) { InitAudioDevice(); state->run = luaInit(); - // luaRegister(); - // defineGlobals(); - - state->run = luaInit(); } return state->run; |
