mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
console layout WIP
This commit is contained in:
parent
7ade504ec0
commit
f4e98b2091
6 changed files with 10 additions and 4 deletions
|
|
@ -170,7 +170,7 @@ int lua::LuaState::callNoThrow(int argc) {
|
|||
}
|
||||
|
||||
int lua::LuaState::eval(int env, const std::string& src, const std::string& file) {
|
||||
auto srcText = "return ("+src+")";
|
||||
auto srcText = "return "+src;
|
||||
loadbuffer(env, srcText, file);
|
||||
return call(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue