Commit 0df85028 authored by Tt's avatar Tt

1

parent 3a4a1234
...@@ -108,6 +108,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -108,6 +108,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private gameOverEnd: boolean; private gameOverEnd: boolean;
gameOver() { gameOver() {
this.touchForid = true;
if (this.gameOverEnd) return; if (this.gameOverEnd) return;
this.gameOverEnd = true; this.gameOverEnd = true;
if (!cc.find('middleLayer')) return; if (!cc.find('middleLayer')) return;
......
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