Skip to content

Commit

Permalink
Working Setup and Lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanV committed Aug 21, 2024
1 parent 6c5e123 commit 491b425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ui/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
if i.isServer {
go nw.InitServer(8000)
}
go nw.InitClient(m.playerInfo, 8000)
m.conn = nw.InitClient(m.playerInfo, 8000)
}
m.state = Lobby{}
return m, tea.Quit
return m, nil
}
}

Expand Down

0 comments on commit 491b425

Please sign in to comment.