mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
console.add_command arguments validation
This commit is contained in:
parent
d0b7dec225
commit
8d6f52c1fa
3 changed files with 6 additions and 2 deletions
|
|
@ -356,7 +356,7 @@ dynamic::Value lua::LuaState::tovalue(int idx) {
|
|||
}
|
||||
default:
|
||||
throw std::runtime_error(
|
||||
"lua type "+std::to_string(type)+" is not supported"
|
||||
"lua type "+std::string(luaL_typename(L, type))+" is not supported"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue