Merge branch 'main' into devtools

This commit is contained in:
MihailRis
2024-05-09 17:08:53 +03:00
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ dynamic::Value lua::LuaState::tovalue(int idx) {
switch (type) {
case LUA_TNIL:
case LUA_TNONE:
return std::monostate();
return dynamic::NONE;
case LUA_TBOOLEAN:
return lua_toboolean(L, idx) == 1;
case LUA_TNUMBER: {