mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'dev' into generated-pcm-stream
This commit is contained in:
commit
cc8e763f97
14 changed files with 51 additions and 44 deletions
|
|
@ -273,7 +273,7 @@ static int l_meta_meta_call(lua::State* L) {
|
|||
auto width = tointeger(L, 2);
|
||||
auto height = tointeger(L, 3);
|
||||
if (width <= 0 || height <= 0) {
|
||||
throw std::runtime_error("width and height must be greather than 0");
|
||||
throw std::runtime_error("width and height must be greater than 0");
|
||||
}
|
||||
return newuserdata<LuaHeightmap>(
|
||||
L, static_cast<uint>(width), static_cast<uint>(height)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue