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
@@ -42,7 +42,8 @@ func (s *Session) applyCurrencyWarsCommands() error {
|
||||
if player == nil {
|
||||
return fmt.Errorf("CW player missing")
|
||||
}
|
||||
notify, applyErr := cwApplyCommand(catalog, data.DHFOFLFCLAH, command)
|
||||
runtime, _ := cwBonfireRuntime(catalog, data.DHFOFLFCLAH)
|
||||
notify, applyErr := cwApplyCommand(catalog, data.DHFOFLFCLAH, command, runtime)
|
||||
if applyErr != nil {
|
||||
PacketLog(fmt.Sprintf("CW_GM rejected request=%s: %v", command.ID, applyErr))
|
||||
if err = common.AcknowledgeCurrencyWarsCommand(command.ID); err != nil {
|
||||
@@ -51,7 +52,7 @@ func (s *Session) applyCurrencyWarsCommands() error {
|
||||
continue
|
||||
}
|
||||
|
||||
if err = s.saveCurrencyWarsData(data, catalog, command.ID); err != nil {
|
||||
if err = s.saveCurrencyWarsDataWithRuntime(data, catalog, runtime, command.ID); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = s.Send(notify); err != nil {
|
||||
|
||||
Reference in new issue
Block a user