xx 1 rok temu
rodzic
commit
0e288248eb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      assets/script/homepage/play_list_item.ts

+ 1 - 1
assets/script/homepage/play_list_item.ts

@@ -33,7 +33,7 @@ export class play_list_item extends Component {
                     let data = gameManager.get_cur_level_by_categoryid(this.m_data.id);
                     data.is_lock_game_play = 1;
                     gameManager.set_unlock_levels_data(data);
-                    gameManager.sync_data()
+                    gameManager.sync_data((is_sync)=>{})
                     ClientEvent.dispatchEvent(config.EVENT_MSG.ON_BACK_HOME_VIEW)
                 })
             }else{