@@ -120,8 +120,6 @@ local versionText = gc.newText(FONT.get(20))
120
120
versionText :set (require ' version' .appVer )
121
121
122
122
local egg = {
123
- AD_BC = false ,
124
- back_to_future = false ,
125
123
bingo_clicker = 0 ,
126
124
bingo_target = 1 ,
127
125
}
@@ -476,9 +474,8 @@ local function selectDate(option)
476
474
if m == 0 then m , y = 12 , y - 1 end
477
475
if y == - 1 then
478
476
y = 99
479
- if not egg . AD_BC then
477
+ if TASK . lock ( ' AD_BC' ) then
480
478
MSG .new (' check' , " We can travel to AD, to BC" , 4.2 )
481
- egg .AD_BC = true
482
479
end
483
480
end
484
481
SCN .swapTo (' main' , ' swipeR' , (' %02d%02d%02d' ):format (y , m , d ))
@@ -489,17 +486,15 @@ local function selectDate(option)
489
486
if m == 13 then m , y = 1 , y + 1 end
490
487
if y == 100 then
491
488
y = 0
492
- if not egg . AD_BC then
489
+ if TASK . lock ( ' AD_BC' ) then
493
490
MSG .new (' check' , " We can travel to AD, to BC" , 4.2 )
494
- egg .AD_BC = true
495
491
end
496
492
end
497
493
if (' %02d%02d%02d' ):format (y , m , d ) <= os.date (' !%y%m%d' ) then
498
494
SCN .swapTo (' main' , ' swipeL' , (' %02d%02d%02d' ):format (y , m , d ))
499
495
else
500
- if not egg . back_to_future then
496
+ if TASK . lock ( ' back_to_future' ) then
501
497
MSG .new (' check' , " Back To The Future" , 4.2 )
502
- egg .back_to_future = true
503
498
end
504
499
end
505
500
elseif option == ' now' then
0 commit comments