Code editor WIP
This commit is contained in:
5
lua.cpp
5
lua.cpp
@@ -420,7 +420,6 @@ void lua_init(const char* filename, const bool start_playing) {
|
||||
debug("BOOT ERROR:", false);
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
setmode(0);
|
||||
file_loaded = false;
|
||||
}
|
||||
} else {
|
||||
@@ -428,7 +427,6 @@ void lua_init(const char* filename, const bool start_playing) {
|
||||
debug("ERROR LOADING GAME:",false);
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
setmode(0);
|
||||
file_loaded = false;
|
||||
}
|
||||
}
|
||||
@@ -618,7 +616,6 @@ void lua_init(const char* filename, const bool start_playing) {
|
||||
debug("RUNTIME ERROR:", false);
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
setmode(0);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -663,7 +660,6 @@ void lua_call_init() {
|
||||
debug("RUNTIME ERROR:",false);
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
setmode(0);
|
||||
lua_state = STATE_STOPPED;
|
||||
}
|
||||
}
|
||||
@@ -676,7 +672,6 @@ void lua_call_update() {
|
||||
debug("RUNTIME ERROR:",false);
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
setmode(0);
|
||||
lua_state = STATE_STOPPED;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user