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"
|
||||
:current="current"
|
||||
:next="next"
|
||||
:disabled="$store.state.gameStopped"
|
||||
@click="levelUp"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="md:pt-4 pt-2 pb-16">
|
||||
<div class="md:pt-4 pt-2 pb-20">
|
||||
<div
|
||||
class="energy-bar relative mx-auto rounded-full overflow-hidden border-2"
|
||||
:class="`text-${$store.getters.activeTab.color} border-${$store.getters.activeTab.darkColor}`"
|
||||
|
@ -41,7 +41,7 @@
|
|||
:max="process.travelCost"
|
||||
:value="$store.state.energy"
|
||||
unit="energy"
|
||||
:disabled="!isEnabled(process)"
|
||||
:disabled="$store.state.gameStopped || !isEnabled(process)"
|
||||
@click="travelToEra(process)"
|
||||
/>
|
||||
</responsive-grid>
|
||||
|
|
Reference in New Issue