This commit is contained in:
xinian
2026-02-12 00:49:18 +08:00
committed by cnb
parent c99923348a
commit 22a07ca213
5 changed files with 10 additions and 12 deletions

View File

@@ -71,9 +71,9 @@ func NewFight(p1, p2 common.PlayerI, fn func(info.FightOverInfo)) (*FightC, erro
f.Broadcast(func(ff *input.Input) {
ff.Player.SendPackCmd(2503, &f.ReadyInfo)
if p, ok := ff.Player.(*player.Player); ok {
p.Service.Info.Save(*p.Info)
}
// if p, ok := ff.Player.(*player.Player); ok {
// p.Service.Info.Save(*p.Info)
// }
})
cool.Cron.AfterFunc(loadtime, func() {