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, UpdateType: AdminUpdateCompanyEconomy,
UpdateFrequency: AdminFrequencyAutomatic, UpdateFrequency: AdminFrequencyAutomatic,
} }
err = s.Send(px.Bytes()) //err = s.Send(px.Bytes())
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)") //logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
px = PacketAdminUpdateFrequency{ px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency}, Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
UpdateType: AdminUpdateCompanyStats, UpdateType: AdminUpdateCompanyStats,
UpdateFrequency: AdminFrequencyAutomatic, UpdateFrequency: AdminFrequencyAutomatic,
} }
err = s.Send(px.Bytes()) //err = s.Send(px.Bytes())
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)") //logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
px = PacketAdminUpdateFrequency{ px = PacketAdminUpdateFrequency{
Packet: Packet{PType: AdminPacketAdminUpdateFrequency}, Packet: Packet{PType: AdminPacketAdminUpdateFrequency},

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 = "acf58c9" var githash = "1084a32"
var buildstamp = "2021-12-04_08:11:12" var buildstamp = "2021-12-04_08:15:33"
var commits = "214" var commits = "215"
var version = "acf58c9-b214 - 2021-12-04_08:11:12" var version = "1084a32-b215 - 2021-12-04_08:15:33"