mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
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
This commit is contained in:
parent
23ed38f8c5
commit
1fcdfd26f9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user