feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes
This commit is contained in:
1 parent
c008243f11
commit
0995055296
78 files changed
+33840
-9525
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user