Skip to content

Commit

Permalink
Make grenades break thin ice
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Dec 29, 2023
1 parent 65201b3 commit 01e5bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/pvp/grenades/grenades.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local function remove_flora(pos, radius)
local pos2 = vector.add(pos, radius)

for _, p in ipairs(minetest.find_nodes_in_area(pos1, pos2, {
"group:flora", "group:mushroom", "default:snow"
"group:flora", "group:mushroom", "default:snow", "group:grenade_breakable"
})) do
if vector.distance(pos, p) <= radius then
minetest.remove_node(p)
Expand Down

0 comments on commit 01e5bf8

Please sign in to comment.