cloud wand: right clicking now resets all WEA multipoints

This commit is contained in:
Starbeamrainbowlabs 2023-02-12 02:18:04 +00:00
parent cfef411bbd
commit fcde8e581c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,5 +1,5 @@
local wea = worldeditadditions
-- local wea_c = worldeditadditions_core
local wea_c = worldeditadditions_core
minetest.register_tool(":worldeditadditions:cloudwand", {
description = "WorldEditAdditions far-reaching additive selectior wand",
@ -26,6 +26,8 @@ minetest.register_tool(":worldeditadditions:cloudwand", {
-- Right click when pointing at nothing
-- print("[farwand] on_secondary_use", name)
-- TODO: Move over to wea_c.pos completely
wea.selection.clear_points(name)
wea_c.pos.clear(name)
end
})