Skip to content

Commit e57a4bf

Browse files
committed
fix: game leght
1 parent dc1a194 commit e57a4bf

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

ios/App/App.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@
362362
buildSettings = {
363363
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
364364
CODE_SIGN_STYLE = Automatic;
365-
CURRENT_PROJECT_VERSION = 2.0.8;
365+
CURRENT_PROJECT_VERSION = 2.0.9;
366366
DEVELOPMENT_TEAM = UVTJ336J2D;
367367
INFOPLIST_FILE = App/Info.plist;
368368
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
369369
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
370-
MARKETING_VERSION = 2.0.8;
370+
MARKETING_VERSION = 2.0.9;
371371
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
372372
PRODUCT_BUNDLE_IDENTIFIER = ee.forgr.mimesis;
373373
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -383,12 +383,12 @@
383383
buildSettings = {
384384
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
385385
CODE_SIGN_STYLE = Automatic;
386-
CURRENT_PROJECT_VERSION = 2.0.8;
386+
CURRENT_PROJECT_VERSION = 2.0.9;
387387
DEVELOPMENT_TEAM = UVTJ336J2D;
388388
INFOPLIST_FILE = App/Info.plist;
389389
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
390390
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
391-
MARKETING_VERSION = 2.0.8;
391+
MARKETING_VERSION = 2.0.9;
392392
PRODUCT_BUNDLE_IDENTIFIER = ee.forgr.mimesis;
393393
PRODUCT_NAME = "$(TARGET_NAME)";
394394
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";

src/views/Game.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
}
211211
const audios: Sound = {}
212212
213+
const gameLenght = 60
213214
const { t } = useI18n()
214215
215216
if (isPlatform('capacitor')) {
@@ -259,7 +260,7 @@
259260
})
260261
const game = useGameStore()
261262
const main = useMainStore()
262-
const timer = useTimer(60, false)
263+
const timer = useTimer(gameLenght, false)
263264
let confetti: CreateTypes
264265
265266
const bgColor = computed<StyleValue[]>(
@@ -279,7 +280,7 @@
279280
)
280281
const createTime = () => {
281282
const expiryTimestamp = new Date()
282-
expiryTimestamp.setSeconds(expiryTimestamp.getSeconds() + 1)
283+
expiryTimestamp.setSeconds(expiryTimestamp.getSeconds() + gameLenght)
283284
return expiryTimestamp.getTime()
284285
}
285286

0 commit comments

Comments
 (0)