Quick fix for player physical position

This commit is contained in:
Cooldude2606 committed 2024-11-19 22:35:41 +00:00
1 parent 90d0a122cd
commit 34a7879761
31 files changed
+82 -41

No files matched your search

@@ -13,6 +13,7 @@ Commands.new_command("lawnmower", "Clean up biter corpse, decoratives and nuclea
:register(function(player, range)
local tile_to_do = {}
-- Intentionally left as player.position to allow use in remote view
player.surface.destroy_decoratives{ position = player.position, radius = range }
local entities = player.surface.find_entities_filtered{ position = player.position, radius = range, type = "corpse" }