diff --git a/config/config.go b/config/config.go index 63ccc0b..910d3a9 100644 --- a/config/config.go +++ b/config/config.go @@ -4,7 +4,7 @@ package config const ( // Version is used to check compatibility with other go-2048-battle clients when // in versus mode. - Version = "0.0.1" + Version = "0.1.0" // Debug enables debugging and diagnostics features which are useful for development. Debug = false diff --git a/screens/multiplayer_join.go b/screens/multiplayer_join.go index 0254cb3..4fef6ee 100644 --- a/screens/multiplayer_join.go +++ b/screens/multiplayer_join.go @@ -154,7 +154,7 @@ func (s *MultiplayerJoinScreen) Enter(_ InitData) { SetScreen(MultiplayerMenu, nil) }) - s.done = make(chan struct{}) + s.done = make(chan struct{}, 1) } // Exit deinitialises the screen.