summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-22 16:58:43 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-22 16:58:43 +0200
commit3ccdd3a3909bd7390be4a9910a83383a0bd9d602 (patch)
tree833ad2ac219b537cf6668cf26e72d5bada6669cf
parent6394f724f7246103ea0b9a755dcf82f94fe63091 (diff)
Fix typo
-rw-r--r--pkg/ui/multiplayer/multiplayer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ui/multiplayer/multiplayer.go b/pkg/ui/multiplayer/multiplayer.go
index ee9d452..1b9365b 100644
--- a/pkg/ui/multiplayer/multiplayer.go
+++ b/pkg/ui/multiplayer/multiplayer.go
@@ -28,7 +28,7 @@ type GameNetwork struct {
peer p2p.NetworkID
}
-// Wrapper to a `TCPNetwork`RestoreAck
+// Wrapper to a `TCPNetwork`
func NewGameNetwork(localID string, address string, onHandshake p2p.NetworkHandshakeFunc, onFirstHandshake p2p.NetworkHandshakeFunc, logger *zap.Logger) *GameNetwork {
opts := p2p.TCPNetworkOpts{
ListenAddr: address,