implement start/reset

This commit is contained in:
shoopea
2021-12-04 13:24:45 +08:00
parent 00d4b8667f
commit 84579af511
4 changed files with 141 additions and 70 deletions

View File

@@ -45,7 +45,9 @@ func main() {
srv = &ServerTTD{
Config: cfg.Server,
Data: &ServerDataTTD{},
Data: &ServerDataTTD{
Started: cfg.Game.Started,
},
Status: &ServerStatusTTD{},
}
go srv.Start()