Pārlūkot izejas kodu

修复对话bug

chelios 3 gadi atpakaļ
vecāks
revīzija
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,

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 2965 - 2994
assets/resources/prefab/map/map2.prefab