Skip to content

Commit

Permalink
Update PeltManager.cs
Browse files Browse the repository at this point in the history
* Fix Code Flow
  • Loading branch information
SaxbyMod authored Nov 23, 2024
1 parent 0c3cf20 commit c2cb80f
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions InscryptionAPI/Pelts/PeltManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,21 @@ internal static void CreateDialogueEvents()
string dialogueId = "TraderPelts" + name;
if (!DialogueManager.CustomDialogue.Exists(x => x.DialogueEvent.id == dialogueId))
{
DialogueManager.GenerateEvent(InscryptionAPIPlugin.ModGUID, dialogueId,
new()
{
if (cardName.Contains("pelt") || cardName.Contains("pelt") {

if (cardName.Contains("pelt") || cardName.Contains("pelt") {

Check failure on line 210 in InscryptionAPI/Pelts/PeltManager.cs

View workflow job for this annotation

GitHub Actions / build

) expected

Check failure on line 210 in InscryptionAPI/Pelts/PeltManager.cs

View workflow job for this annotation

GitHub Actions / build

) expected
DialogueManager.GenerateEvent(InscryptionAPIPlugin.ModGUID, dialogueId,
new()
{
name + "pelts..."
} else {
}
);
} else {
DialogueManager.GenerateEvent(InscryptionAPIPlugin.ModGUID, dialogueId,
new()
{
name + "..."
});
}
);
}
}
}
}
Expand Down

0 comments on commit c2cb80f

Please sign in to comment.