fix: disable purchsing apprentices and spending energy after time stops
This commit is contained in:
parent
03cb459114
commit
e2dead5ccc
|
@ -6,6 +6,7 @@
|
||||||
:value="$store.state.currency"
|
:value="$store.state.currency"
|
||||||
:current="current"
|
:current="current"
|
||||||
:next="next"
|
:next="next"
|
||||||
|
:disabled="$store.state.gameStopped"
|
||||||
@click="levelUp"
|
@click="levelUp"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="md:pt-4 pt-2 pb-16">
|
<div class="md:pt-4 pt-2 pb-20">
|
||||||
<div
|
<div
|
||||||
class="energy-bar relative mx-auto rounded-full overflow-hidden border-2"
|
class="energy-bar relative mx-auto rounded-full overflow-hidden border-2"
|
||||||
:class="`text-${$store.getters.activeTab.color} border-${$store.getters.activeTab.darkColor}`"
|
:class="`text-${$store.getters.activeTab.color} border-${$store.getters.activeTab.darkColor}`"
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
:max="process.travelCost"
|
:max="process.travelCost"
|
||||||
:value="$store.state.energy"
|
:value="$store.state.energy"
|
||||||
unit="energy"
|
unit="energy"
|
||||||
:disabled="!isEnabled(process)"
|
:disabled="$store.state.gameStopped || !isEnabled(process)"
|
||||||
@click="travelToEra(process)"
|
@click="travelToEra(process)"
|
||||||
/>
|
/>
|
||||||
</responsive-grid>
|
</responsive-grid>
|
||||||
|
|
Reference in New Issue