allow the control interface to specify game type
This commit is contained in:
@@ -167,6 +167,7 @@ func addPlayer(ws *websocket.Conn) {
|
||||
conf.Obstacles,
|
||||
conf.Tick,
|
||||
conf.MaxPoints,
|
||||
"",
|
||||
)
|
||||
go game.run()
|
||||
games.add(game)
|
||||
|
||||
Reference in New Issue
Block a user