修复PVP 切换地图重置数据

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-12-05 01:43:43 +08:00
parent cebe7cc9d3
commit 1e76e420b1
12 changed files with 74 additions and 35 deletions

View File

@@ -98,6 +98,12 @@ export default class GBattleModeManager extends Singleton {
}
//重置当前模式
Reset(){
app.sync.onReset();
app.sync.onStart();
}
//关闭当前模式
async Close(data?:any){