mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
Merge pull request #9 from Fontbane/patch-11
fix activeeventhasbanner function
This commit is contained in:
commit
cacd05b8b9
@ -326,7 +326,7 @@ export class TimedEventManager {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user