fix: server_snapshots - incorrect num_inactive_tribes
This commit is contained in:
parent
c6d7ad8965
commit
7de443c652
|
@ -83,16 +83,16 @@ func NewServer(tb TestingTB, opts ...func(cfg *ServerConfig)) domain.Server {
|
||||||
cfg.URL.String(),
|
cfg.URL.String(),
|
||||||
cfg.Open,
|
cfg.Open,
|
||||||
cfg.Special,
|
cfg.Special,
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
0,
|
gofakeit.IntRange(0, 100000),
|
||||||
NewServerConfig(tb),
|
NewServerConfig(tb),
|
||||||
NewBuildingInfo(tb),
|
NewBuildingInfo(tb),
|
||||||
NewUnitInfo(tb),
|
NewUnitInfo(tb),
|
||||||
|
|
|
@ -176,7 +176,7 @@ func NewCreateServerSnapshotParams(server Server, date time.Time) (CreateServerS
|
||||||
numInactivePlayers: server.NumInactivePlayers(),
|
numInactivePlayers: server.NumInactivePlayers(),
|
||||||
numTribes: server.NumTribes(),
|
numTribes: server.NumTribes(),
|
||||||
numActiveTribes: server.NumActiveTribes(),
|
numActiveTribes: server.NumActiveTribes(),
|
||||||
numInactiveTribes: server.NumInactivePlayers(),
|
numInactiveTribes: server.NumInactiveTribes(),
|
||||||
numVillages: server.NumVillages(),
|
numVillages: server.NumVillages(),
|
||||||
numPlayerVillages: server.NumPlayerVillages(),
|
numPlayerVillages: server.NumPlayerVillages(),
|
||||||
numBarbarianVillages: server.NumBarbarianVillages(),
|
numBarbarianVillages: server.NumBarbarianVillages(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user