Compare commits

..

1 Commits

Author SHA1 Message Date
827e224c3b handle giveKeyChainTriggeredMessage with ChainStage = -1
All checks were successful
Build / build (pull_request) Successful in 2m44s
e.g. for railjack build quest, the initial inbox message is sent like this. no 'm' needs to be set to true for it.
2025-10-05 18:24:21 +02:00

View File

@ -86,7 +86,10 @@ export const updateQuestStage = (
if (ChainStage >= 0) {
const questStage = quest.Progress[ChainStage]; // guaranteed in-bounds now
for (const [key, value] of Object.entries(questStageUpdate) as [keyof IQuestStage, number | boolean | any[]][]) {
for (const [key, value] of Object.entries(questStageUpdate) as [
keyof IQuestStage,
number | boolean | any[]
][]) {
(questStage[key] as any) = value;
}
}