v-if for FadeToBlack

This commit is contained in:
Dys 2022-04-21 11:21:06 +08:00
parent b7036ebb13
commit ef45380d3e

View File

@ -59,7 +59,7 @@ export default {
}, },
methods: { methods: {
update() { update() {
this.rollCredits = GameEnd.endState >= 4.5; this.rollCredits = GameEnd.endState >= 2.5;
} }
} }
}; };
@ -105,7 +105,7 @@ export default {
<ModernSidebar v-if="view.newUI" /> <ModernSidebar v-if="view.newUI" />
<SaveTimer /> <SaveTimer />
<SpeedrunStatus /> <SpeedrunStatus />
<FadeToBlack /> <FadeToBlack v-if="rollCredits" />
<CreditsContainer v-if="rollCredits" /> <CreditsContainer v-if="rollCredits" />
<NewGame v-if="rollCredits" /> <NewGame v-if="rollCredits" />
</div> </div>