From 1fcdfd26f9e9807d55f69f99a32d59d72ddcaa3d Mon Sep 17 00:00:00 2001 From: RedstonewolfX <108761527+RedstonewolfX@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:56:10 -0400 Subject: [PATCH] Fix a log's number The log for the run in slot 1 didn't have a label, since its ID was 0 and, therefore, "if data.slotId" returned false --- src/ui/log-select-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/log-select-ui-handler.ts b/src/ui/log-select-ui-handler.ts index fe564163362..9c880f412f7 100644 --- a/src/ui/log-select-ui-handler.ts +++ b/src/ui/log-select-ui-handler.ts @@ -285,7 +285,7 @@ class SessionSlot extends Phaser.GameObjects.Container { this.remove(this.loadingLabel, true); var lbl = `???` lbl = data.title - if (this.slotId) { + if (this.slotId != undefined) { lbl = `[${this.slotId + 1}] ${lbl}` } console.log(data, this.slotId, this.autoSlot, lbl)