feat: turn stage increment after player's command
This commit is contained in:
@@ -37,6 +37,7 @@ func TestDeclarePeaceAndWarAll(t *testing.T) {
|
||||
}
|
||||
|
||||
assert.NoError(t, game.DeclarePeace(f, raceNum(hostRace), raceNum(hostRace)))
|
||||
assert.Equal(t, 1, int(ctrl().Cache.Stage()))
|
||||
|
||||
for i := range testRaceCount {
|
||||
if i == hostRace {
|
||||
@@ -46,6 +47,7 @@ func TestDeclarePeaceAndWarAll(t *testing.T) {
|
||||
}
|
||||
|
||||
assert.NoError(t, game.DeclareWar(f, raceNum(hostRace), raceNum(hostRace)))
|
||||
assert.Equal(t, 2, int(ctrl().Cache.Stage()))
|
||||
|
||||
for i := range testRaceCount {
|
||||
if i == hostRace {
|
||||
|
||||
Reference in New Issue
Block a user