mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
dynamic::none,NONE
This commit is contained in:
parent
5da2a30326
commit
9695a78bc3
2 changed files with 6 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue