Skip to content

Commit 17eff22

Browse files
committed
use new field name for diplomacy screen
1 parent dc8381c commit 17eff22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/caravan/tradeagreement.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TradeAgreementOverlay.ATTRS{
1818
local diplomacy = df.global.game.main_interface.diplomacy
1919
local function diplomacy_toggle_cat()
2020
local priority_idx = diplomacy.taking_requests_tablist[diplomacy.taking_requests_selected_tab]
21-
local priority = diplomacy.environment.meeting.sell_requests.priority[priority_idx]
21+
local priority = diplomacy.environment.dipev.sell_requests.priority[priority_idx]
2222
if #priority == 0 then return end
2323
local target_val = priority[0] == 0 and 4 or 0
2424
for i in ipairs(priority) do

0 commit comments

Comments
 (0)