Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Date: ???
- Changed farming remote interfaces to use pyanodons mod data
- Added annotations to farming scripts and prototypes
- Changed custom recipe UI to use pyanodons mod data
- Localized a global variable in the caravan copy interrupt script. Resolves https://github.com/pyanodon/pybugreports/issues/1536
---------------------------------------------------------------------------------------------------
Version: 3.1.2
Date: 2026-07-09
Expand Down
1 change: 1 addition & 0 deletions scripts/caravan/event-handlers/interrupts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ gui_events[defines.events.on_gui_click]["py_duplicate_interrupt_button"] = funct
CaravanScheduleGui.update_schedule_pane(player)

if player.gui.screen.edit_interrupt_gui then
local window_location = player.gui.screen.add_interrupt_gui.location
player.gui.screen.edit_interrupt_gui.destroy()
local edit_interrupt_gui = EditInterruptGui.build(player.gui.screen, storage.interrupts[interrupt_copy_name])
CaravanUtils.restore_gui_location(edit_interrupt_gui, window_location)
Expand Down