Ver Fonte

修复对话bug

chelios há 3 anos atrás
pai
commit
9b49c23450

+ 6 - 0
assets/Script/game/gamePlot/plot_1_2/JG0111_3.ts

@@ -30,7 +30,13 @@ export default class JG0111_3 extends BaseEvent {
     })
     mKeyNode: cc.Node = null;
 
+    private isOver = false;
+
     public onBegin(tag: number) {
+        if(this.isOver){
+            return
+        }
+        this.isOver = true
         this.pause()
         this.dialog1()
     }

+ 2 - 2
assets/resources/prefab/map/map1.prefab

@@ -37610,8 +37610,8 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        999.64,
-        771.155,
+        390.79,
+        2541.067,
         0,
         0,
         0,

Diff do ficheiro suprimidas por serem muito extensas
+ 2965 - 2994
assets/resources/prefab/map/map2.prefab