update monthly

This commit is contained in:
shoopea 2021-12-04 16:38:08 +08:00
parent 3e4d6c1335
commit 7e3b0bf414
2 changed files with 6 additions and 6 deletions

4
ttd.go
View File

@ -800,7 +800,7 @@ func (s *ServerTTD) Initialize() {
px = PacketAdminUpdateFrequency{ px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency}, Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
UpdateType: AdminUpdateCompanyEconomy, UpdateType: AdminUpdateCompanyEconomy,
UpdateFrequency: AdminFrequencyDaily, UpdateFrequency: AdminFrequencyMonthly,
} }
err = s.Send(px.Bytes()) err = s.Send(px.Bytes())
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)") failError(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
@ -809,7 +809,7 @@ func (s *ServerTTD) Initialize() {
px = PacketAdminUpdateFrequency{ px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency}, Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
UpdateType: AdminUpdateCompanyStats, UpdateType: AdminUpdateCompanyStats,
UpdateFrequency: AdminFrequencyDaily, UpdateFrequency: AdminFrequencyMonthly,
} }
err = s.Send(px.Bytes()) err = s.Send(px.Bytes())
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)") failError(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT. // Code generated by version.sh (@generated) DO NOT EDIT.
package main package main
var githash = "06b05d8" var githash = "3e4d6c1"
var buildstamp = "2021-12-04_08:30:57" var buildstamp = "2021-12-04_08:38:00"
var commits = "218" var commits = "219"
var version = "06b05d8-b218 - 2021-12-04_08:30:57" var version = "3e4d6c1-b219 - 2021-12-04_08:38:00"