This commit is contained in:
shoopea
2021-12-04 16:15:42 +08:00
parent 1084a32b1e
commit ac8472e099
2 changed files with 8 additions and 8 deletions

8
ttd.go
View File

@@ -799,16 +799,16 @@ func (s *ServerTTD) Initialize() {
UpdateType: AdminUpdateCompanyEconomy,
UpdateFrequency: AdminFrequencyAutomatic,
}
err = s.Send(px.Bytes())
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
//err = s.Send(px.Bytes())
//logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
UpdateType: AdminUpdateCompanyStats,
UpdateFrequency: AdminFrequencyAutomatic,
}
err = s.Send(px.Bytes())
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
//err = s.Send(px.Bytes())
//logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},