|
@@ -59,6 +59,10 @@ export class event_switch_scene_event extends Component {
|
|
}
|
|
}
|
|
|
|
|
|
change(direction = config.switch_scene_page_direction.unknown) {
|
|
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.m_data.direction = direction
|
|
this.updateDirectionNodeStatus()
|
|
this.updateDirectionNodeStatus()
|
|
}
|
|
}
|