feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes

This commit is contained in:
CAtlas0784 committed 2026-10-31 20:47:36 +07:00
1 parent c008243f11
commit 0995055296
78 files changed
+33840 -9525

No files matched your search

+6 -1
View File
@@ -102,7 +102,12 @@ func (s *Session) saveCurrencyWarsDataWithRuntime(data *goproto.GridFightGetData
return fmt.Errorf("CW runtime rules belong to a different run")
}
if runtime == nil {
runtime = &common.CurrencyWarsRuntimeState{RunID: run.UniqueId}
existing, err := cwBonfireRuntime(catalog, run)
if err == nil && existing != nil && existing.RunID == run.UniqueId {
runtime = existing
} else {
runtime = &common.CurrencyWarsRuntimeState{RunID: run.UniqueId}
}
}
next.Runtime = runtime
}