mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
fix activeeventhasbanner function
This commit is contained in:
parent
dae9c30cca
commit
b4471a7863
@ -326,7 +326,7 @@ export class TimedEventManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
activeEventHasBanner(): boolean {
|
activeEventHasBanner(): boolean {
|
||||||
const activeEvents = timedEvents.filter(te => this.isActive(te) && te.hasOwnProperty("bannerFilename"));
|
const activeEvents = timedEvents.filter(te => this.isActive(te) && te.hasOwnProperty("bannerKey"));
|
||||||
return activeEvents.length > 0;
|
return activeEvents.length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user