obstacle support
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@ func addPlayer(ws *websocket.Conn) {
|
||||
send: make(chan *Boardstate),
|
||||
ws: ws,
|
||||
}
|
||||
p.reset()
|
||||
p.reset(game)
|
||||
game.register <- p
|
||||
defer func() {
|
||||
game.unregister <- p
|
||||
|
||||
Reference in New Issue
Block a user