Commit bde121dc authored by haiyoucuv's avatar haiyoucuv

init

parent a8fa68e3
...@@ -59,10 +59,6 @@ export class ReviewPanel extends Panel { ...@@ -59,10 +59,6 @@ export class ReviewPanel extends Panel {
} }
} }
hidePanel() {
super.hidePanel();
}
cancel = _asyncThrottle(() => { cancel = _asyncThrottle(() => {
this.hidePanel(); this.hidePanel();
AudioMgr.ins.playOneShot(AudioClipName.button_ok); AudioMgr.ins.playOneShot(AudioClipName.button_ok);
...@@ -75,10 +71,12 @@ export class ReviewPanel extends Panel { ...@@ -75,10 +71,12 @@ export class ReviewPanel extends Panel {
if (type == "share") { if (type == "share") {
showShareGuide(); showShareGuide();
this.scheduleOnce(() => { this.scheduleOnce(() => {
MainGame.ins.shareUnlock(); if (gameStore.startInfo.shareUnlocked) return;
gameStore.startInfo.shareUnlocked = true;
this.hidePanel(); this.hidePanel();
CarColorsGlobalInstance.instance.roleSysterm.isGaming = true gameStore.unlockPark("share");
}, 2500); MainGame.ins.unlockPoint(4);
}, 2.5);
} else { } else {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment