Search found 1 match

by oofmanstan
Sun Sep 20, 2026 9:04 pm
Forum: Resolved Problems and Bugs
Topic: [2.1.19] Using damage_tile to destroy a tile underneath of an entity that just died causes a game freeze
Replies: 1
Views: 189

[2.1.19] Using damage_tile to destroy a tile underneath of an entity that just died causes a game freeze

In my mod I have this code set up to damage half of a space platform tiles hp when the entity on top of it dies.

script.on_event(defines.events.on_entity_died, function(event)
local position = event.entity.position
position.x = math.floor(position.x, clamped)
position.y = math.floor(position.y ...

Go to advanced search