New console system WIP

This commit is contained in:
2021-12-14 12:42:09 +01:00
parent 3979588f85
commit 63ca77e3e6
4 changed files with 92 additions and 45 deletions

View File

@@ -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() {