mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
refactor logic for checking maxCircles
This commit is contained in:
@@ -217,7 +217,9 @@ export default {
|
||||
},
|
||||
flippedCards: {
|
||||
async handler(value) {
|
||||
if (this.gamesCircle < this.amountSaveCrystals) {
|
||||
const maxCircles = 25 - this.amountSaveCrystals
|
||||
|
||||
if (this.gamesCircle < maxCircles) {
|
||||
console.log(value)
|
||||
// this.offEventPointers = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user