New console system WIP
This commit is contained in:
4
lua.cpp
4
lua.cpp
@@ -635,12 +635,12 @@ void lua_init(const char* filename, const bool start_playing) {
|
||||
|
||||
void lua_call_cmd(const char* str) {
|
||||
if (luaL_dostring(L, str)) {
|
||||
debug(" ");
|
||||
//debug(" ");
|
||||
debug("ERROR");
|
||||
debug(lua_tostring(L, -1));
|
||||
lua_pop(L,1);
|
||||
}
|
||||
debug(" ");
|
||||
//debug(" ");
|
||||
}
|
||||
|
||||
void lua_call_init() {
|
||||
|
||||
Reference in New Issue
Block a user