mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
feat: Update banner key assignment in TimedEventDisplay setup method
This commit is contained in:
parent
95a02a96a7
commit
e80b4fe122
@ -91,7 +91,7 @@ export class TimedEventDisplay extends Phaser.GameObjects.Container {
|
||||
setup() {
|
||||
const lang = i18next.resolvedLanguage;
|
||||
if (this.event && this.event.bannerKey) {
|
||||
const key = this.event.bannerKey;
|
||||
let key = this.event.bannerKey;
|
||||
if (lang && this.event.availableLangs && this.event.availableLangs.length > 0) {
|
||||
if (this.event.availableLangs.includes(lang)) {
|
||||
key += "-"+lang;
|
||||
|
Loading…
Reference in New Issue
Block a user