mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-30 20:22:32 +02:00
globalScene -> this in battle scene class
This commit is contained in:
parent
d84b394c17
commit
a2f5cfc569
@ -3398,7 +3398,7 @@ export default class BattleScene extends SceneBase {
|
||||
if (!encounterCandidate) {
|
||||
return false;
|
||||
}
|
||||
if (globalScene.eventManager.getMysteryEncounterTierForEvent(encounterType, encounterCandidate.encounterTier) !== tier) {
|
||||
if (this.eventManager.getMysteryEncounterTierForEvent(encounterType, encounterCandidate.encounterTier) !== tier) {
|
||||
return false;
|
||||
}
|
||||
const disallowedGameModes = encounterCandidate.disallowedGameModes;
|
||||
|
Loading…
Reference in New Issue
Block a user