future hace 1 año
padre
commit
b6b4160a14
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      assets/script/edit/event/event_switch_scene_event.ts

+ 4 - 0
assets/script/edit/event/event_switch_scene_event.ts

@@ -59,6 +59,10 @@ export class event_switch_scene_event extends Component {
     }
 
     change(direction = config.switch_scene_page_direction.unknown) {
+        if(this.m_data.direction == direction) {
+            this.m_data.direction = config.switch_scene_page_direction.unknown
+            return
+        }
         this.m_data.direction = direction
         this.updateDirectionNodeStatus()
     }