Skip to content

Commit 1757cf4

Browse files
Fix advtools convo using the wrong talk_choice_type for creating new convo option, resulting in a nil value being passed
1 parent ce8efb4 commit 1757cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/advtools/convo.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ local function addWhereaboutsChoice(race, name, target_id, heard_of)
8181
if heard_of then
8282
title = title .. " (Heard of)"
8383
end
84-
local choice = new_choice(df.talk_choice_type.AskWhereabouts, title, dfhack.translation.translateName(name):split())
84+
local choice = new_choice(df.talk_choice_type.AskForDirectionsToHF, title, dfhack.translation.translateName(name):split())
8585
-- insert before the last choice, which is usually "back"
8686
adventure.conversation.conv_choice_info:insert(#adventure.conversation.conv_choice_info-1, choice)
8787
choice.choice.invocation_target_hfid = target_id

0 commit comments

Comments
 (0)