fix gui.alert

This commit is contained in:
MihailRis
2025-01-21 09:39:06 +03:00
parent 9443892406
commit b12982655d
4 changed files with 37 additions and 16 deletions
+3
View File
@@ -22,6 +22,9 @@ namespace lua {
inline void pop(lua::State* L, int n = 1) {
#ifndef NDEBUG
if (n < 0) {
abort();
}
if (lua_gettop(L) < n) {
abort();
}