This commit is contained in:
2025-05-31 22:15:19 +09:00
parent b7fef28c90
commit d84ef9c9a3
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.111
Date: 2025-06-06
Changes:
- [CL] Some changes to the control behaviour.
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 3.0.110 Version: 3.0.110
Date: 2025-06-06 Date: 2025-06-06

View File

@@ -198,7 +198,7 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
script.on_event(defines.events.on_entity_settings_pasted, function(e) script.on_event(defines.events.on_entity_settings_pasted, function(e)
local player = game.players[e.player_index] local player = game.players[e.player_index]
if e.destination and (e.destination.type == 'inserter' or (e.destination.type == 'entity-ghost' and e.destination.ghost_type == 'inserter')) and player.opened == e.destination and (player.opened.type == 'inserter' or (player.opened.type == 'entity-ghost' and player.opened.ghost_type == 'inserter')) then if e.destination and e.source and player.opened and e.destination.type and (e.destination.type == 'inserter' or (e.destination.type == 'entity-ghost' and e.destination.ghost_type == 'inserter')) and e.source.type and (e.source.type == 'inserter' or (e.source.type == 'entity-ghost' and e.source.ghost_type == 'inserter')) and player.opened == e.source then
gui_update(player, player.opened) gui_update(player, player.opened)
end end
end) end)

View File

@@ -1,6 +1,6 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "3.0.110", "version": "3.0.111",
"factorio_version": "2.0", "factorio_version": "2.0",
"date": "2025-06-06", "date": "2025-06-06",
"title": "Phidias Collection", "title": "Phidias Collection",