mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
9963bc4134
23 changed files with 153 additions and 87 deletions
|
|
@ -33,8 +33,7 @@ static int l_tostring(lua::State* L) {
|
|||
lua::pop(L);
|
||||
return lua::pushlstring(L, buffer.data(), size);
|
||||
} else {
|
||||
lua::bytearray_as_string(L, 1);
|
||||
return 1;
|
||||
return lua::pushlstring(L, lua::bytearray_as_string(L, 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue