update freq
This commit is contained in:
parent
06b05d85b8
commit
3e4d6c1335
15
ttd.go
15
ttd.go
@ -777,6 +777,7 @@ func (s *ServerTTD) Initialize() {
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateDate)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateDate")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -785,6 +786,7 @@ func (s *ServerTTD) Initialize() {
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateClientInfo)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateClientInfo")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -793,22 +795,25 @@ func (s *ServerTTD) Initialize() {
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyInfo)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateCompanyInfo")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
UpdateType: AdminUpdateCompanyEconomy,
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
UpdateFrequency: AdminFrequencyDaily,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateCompanyEconomy")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
UpdateType: AdminUpdateCompanyStats,
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
UpdateFrequency: AdminFrequencyDaily,
|
||||
}
|
||||
//err = s.Send(px.Bytes())
|
||||
//failError(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateCompanyStats")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -817,6 +822,7 @@ func (s *ServerTTD) Initialize() {
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateChat)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateChat")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -825,6 +831,7 @@ func (s *ServerTTD) Initialize() {
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateConsole)")
|
||||
logInfoDebug("Server.Initialize : AdminUpdateConsole")
|
||||
|
||||
s.Status.Initialized = true
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "f0e764e"
|
||||
var buildstamp = "2021-12-04_08:24:43"
|
||||
var commits = "217"
|
||||
var version = "f0e764e-b217 - 2021-12-04_08:24:43"
|
||||
var githash = "06b05d8"
|
||||
var buildstamp = "2021-12-04_08:30:57"
|
||||
var commits = "218"
|
||||
var version = "06b05d8-b218 - 2021-12-04_08:30:57"
|
||||
|
Loading…
Reference in New Issue
Block a user