entity api change (#442)

* Update warps.lua

* .

* .
This commit is contained in:
2026-06-26 15:45:46 +01:00
committed by GitHub
parent 71ab3e7be4
commit 1f3689a0ac
4 changed files with 4 additions and 4 deletions
@@ -43,7 +43,7 @@ local function prevent_deconstruction(entity)
end
-- Not minable, selectable, or deconstructive
if not entity.minable or not entity.prototype.selectable_in_game or entity.has_flag("not-deconstructable") then
if not entity.minable_flag or not entity.prototype.selectable_in_game or entity.has_flag("not-deconstructable") then
return true
end