mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
critical lua fixes
This commit is contained in:
parent
9d82e3416b
commit
086bcec9c2
9 changed files with 37 additions and 11 deletions
|
|
@ -33,7 +33,7 @@ lua::LuaState::LuaState() {
|
|||
setglobal(envName(0));
|
||||
}
|
||||
|
||||
const std::string lua::LuaState::envName(int env) const {
|
||||
const std::string lua::LuaState::envName(int env) {
|
||||
return "_ENV"+util::mangleid(env);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue