mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
fix lua::tovalue
This commit is contained in:
parent
6eda819011
commit
ac7e7a4c2f
1 changed files with 0 additions and 1 deletions
|
|
@ -133,7 +133,6 @@ dv::value lua::tovalue(State* L, int idx) {
|
||||||
auto bytes = std::make_shared<dv::objects::Bytes>(
|
auto bytes = std::make_shared<dv::objects::Bytes>(
|
||||||
reinterpret_cast<const ubyte*>(data.data()), data.size()
|
reinterpret_cast<const ubyte*>(data.data()), data.size()
|
||||||
);
|
);
|
||||||
pop(L);
|
|
||||||
return bytes;
|
return bytes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue