xx 1 жил өмнө
parent
commit
0e288248eb

+ 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);
                     let data = gameManager.get_cur_level_by_categoryid(this.m_data.id);
                     data.is_lock_game_play = 1;
                     data.is_lock_game_play = 1;
                     gameManager.set_unlock_levels_data(data);
                     gameManager.set_unlock_levels_data(data);
-                    gameManager.sync_data()
+                    gameManager.sync_data((is_sync)=>{})
                     ClientEvent.dispatchEvent(config.EVENT_MSG.ON_BACK_HOME_VIEW)
                     ClientEvent.dispatchEvent(config.EVENT_MSG.ON_BACK_HOME_VIEW)
                 })
                 })
             }else{
             }else{