mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +00:00
re-enable dialogue tokens
This commit is contained in:
parent
7fb1506a97
commit
07ffe1ca64
@ -306,7 +306,7 @@ export default class MysteryEncounter implements MysteryEncounter {
|
||||
}
|
||||
|
||||
setDialogueToken?(key: string, value: string) {
|
||||
this.dialogueTokens.set(key, [new RegExp("@ec\{" + value + "\\}", "gi"), value]);
|
||||
this.dialogueTokens.set(key, [new RegExp("@ec\{" + key + "\\}", "gi"), value]);
|
||||
}
|
||||
|
||||
private capitalizeFirstLetter?(str: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user