Skip to content

[CustomKissingMod] Dialogue stack peek causing exception #320

@slserpent

Description

@slserpent

_lastDialog = __instance.CurrentDialogue.Peek().TranslationKey;

Looks like there's a possibility for peek() to cause a stack empty exception at Line 122 of NPCOverrides.cs. Probably only happens if another mod is editing the dialogue during checkAction(), but should probably make sure before you access the stack anyways, eh?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions