mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
bug fix
This commit is contained in:
parent
0e7084b942
commit
851a4b17b7
@ -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)
|
Event.add(defines.events.on_marked_for_deconstruction, function(event)
|
||||||
if global.ag_disabled then return end
|
if global.ag_disabled then return end
|
||||||
|
|
||||||
global.original_last_users_by_ent_pos[get_position_str(event.entity.position)] =
|
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)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user