refactor: battle at controller

This commit is contained in:
Ilia Denisov
2026-01-14 14:40:04 +02:00
parent 004529cdd3
commit 1bfc9242af
16 changed files with 583 additions and 546 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func g(t *testing.T, f func(p func(*controller.Param), g func() *mg.Game)) {
g, err := game.LoadState(p)
if err != nil {
assert.FailNow(t, "g: LoadState", err)
return nil // mg.Game{}
return nil
}
return g
}