From cd523515f54db6b828ef13a044a933262d4f5485 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 27 May 2025 12:39:35 -0400 Subject: [PATCH] Use array index access instead of .at (#889) ## Description: Use array index access instead of `.at` to try to fix a user-reported erorr. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com> --- src/core/execution/EmojiExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execution/EmojiExecution.ts b/src/core/execution/EmojiExecution.ts index d5cc56e24..a544411e4 100644 --- a/src/core/execution/EmojiExecution.ts +++ b/src/core/execution/EmojiExecution.ts @@ -41,7 +41,7 @@ export class EmojiExecution implements Execution { } tick(ticks: number): void { - const emojiString = flattenedEmojiTable.at(this.emoji); + const emojiString = flattenedEmojiTable[this.emoji]; if (emojiString === undefined) { consolex.warn( `cannot send emoji ${this.emoji} from ${this.requestor} to ${this.recipient}`,