console layout WIP

This commit is contained in:
MihailRis
2024-05-13 17:08:58 +03:00
parent 7ade504ec0
commit f4e98b2091
6 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -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);
}