Update egg-gacha-ui-handler.ts

Seems "fixedInt" was needed on the delay of the playTimeTimer so the game speed doesn't affect it.
This commit is contained in:
SmhMyHead 2025-06-03 01:08:50 +02:00 committed by GitHub
parent c96bb56a53
commit 120b40c677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -860,7 +860,7 @@ export default class EggGachaUiHandler extends MessageUiHandler {
} }
this.playTimeTimer = globalScene.time.addEvent({ this.playTimeTimer = globalScene.time.addEvent({
loop: true, loop: true,
delay: 1000, delay: fixedInt(1000),
callback: () => { callback: () => {
this.legendaryExpiration.setText(this.getLegendaryGachaTimeLeft()); this.legendaryExpiration.setText(this.getLegendaryGachaTimeLeft());
}, },