1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
This commit is contained in:
grilledham 2018-06-10 16:34:37 +01:00
parent 0e7084b942
commit 851a4b17b7

View File

@ -125,8 +125,9 @@ Event.add(defines.events.on_player_mined_entity, on_entity_changed)
Event.add(defines.events.on_marked_for_deconstruction, function(event)
if global.ag_disabled then return end
global.original_last_users_by_ent_pos[get_position_str(event.entity.position)] =
Utils.ternary(event.entity.last_user, event.entity.last_user.index)
event.entity.last_user and event.entity.last_user.index
end)