mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
cloud wand: right clicking now resets all WEA multipoints
This commit is contained in:
parent
cfef411bbd
commit
fcde8e581c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue