From 7330896eb4fc1ad31df18af5830d773502caed24 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Wed, 16 Oct 2024 05:15:07 +0300 Subject: [PATCH] add heightmap:sub(...) operation --- src/logic/scripting/lua/usertypes/lua_type_heightmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logic/scripting/lua/usertypes/lua_type_heightmap.cpp b/src/logic/scripting/lua/usertypes/lua_type_heightmap.cpp index 5dde49f7..cdefa4f0 100644 --- a/src/logic/scripting/lua/usertypes/lua_type_heightmap.cpp +++ b/src/logic/scripting/lua/usertypes/lua_type_heightmap.cpp @@ -256,6 +256,7 @@ static std::unordered_map methods { {"cellnoise", lua::wrap>}, {"pow", lua::wrap>}, {"add", lua::wrap>}, + {"sub", lua::wrap>}, {"mul", lua::wrap>}, {"min", lua::wrap>}, {"max", lua::wrap>},