mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-31 12:42:22 +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) {
|
if (!encounterCandidate) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (globalScene.eventManager.getMysteryEncounterTierForEvent(encounterType, encounterCandidate.encounterTier) !== tier) {
|
if (this.eventManager.getMysteryEncounterTierForEvent(encounterType, encounterCandidate.encounterTier) !== tier) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const disallowedGameModes = encounterCandidate.disallowedGameModes;
|
const disallowedGameModes = encounterCandidate.disallowedGameModes;
|
||||||
|
Loading…
Reference in New Issue
Block a user