summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorjussi2022-11-14 21:31:19 +0200
committerjussi2022-11-14 21:31:19 +0200
commit8c27a508a4ae525ffedf47606dda1795025468f6 (patch)
tree564238dbcaba3b5c1818e262b98e2bf27f7fcda5 /src/state.c
parent9da3fe67273b84f972f322735b0631947fcbc660 (diff)
downloadreilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.tar.gz
reilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.tar.bz2
reilua-enhanced-8c27a508a4ae525ffedf47606dda1795025468f6.zip
luaInit was called two times.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 0 insertions, 4 deletions
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;