This commit is contained in:
2025-04-17 19:39:02 +09:00
parent 6fc83b190f
commit d8267bd07c
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.93
Date: 2025-04-19
Changes:
- [VP] Fixed an issue of incorrect inserter direction displayed.
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 3.0.92 Version: 3.0.92
Date: 2025-04-19 Date: 2025-04-19

View File

@@ -104,7 +104,7 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
end end
local gui = player.gui.relative.inserter_config local gui = player.gui.relative.inserter_config
gui['i_sub_direction'].selected_index = ((inserter_direction_reversed[inserter.direction] % 4 or 0) + ((inserter.mirroring and 2) or 0)) % 4 + 1 gui['i_sub_direction'].selected_index = (((inserter_direction_reversed[inserter.direction] - 1) % 4 or 0) + ((inserter.mirroring and 2) or 0)) % 4 + 1
end end
script.on_nth_tick(3600, function(_) script.on_nth_tick(3600, function(_)