mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 14:25:32 +01:00
[Hotfix] Fixed Candy Jar in Daily run event items disappearing after refresh (#6749)
Added id func to daily run event starting items Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
This commit is contained in:
parent
17ac20ef0b
commit
c0e988a37b
@ -268,7 +268,13 @@ export class TitlePhase extends Phase {
|
||||
globalScene.addModifier(m, true, false, false, true);
|
||||
}
|
||||
for (const m of timedEventManager.getEventDailyStartingItems()) {
|
||||
globalScene.addModifier(modifierTypes[m]().newModifier(), true, false, false, true);
|
||||
globalScene.addModifier(
|
||||
modifierTypes[m]().withIdFromFunc(modifierTypes[m]).newModifier(),
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
);
|
||||
}
|
||||
globalScene.updateModifiers(true, true);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user