diff --git a/api.go b/api.go index 3783311..68dd144 100644 --- a/api.go +++ b/api.go @@ -32,6 +32,7 @@ func (a *API) NewGame(res http.ResponseWriter, req *http.Request) { initDummy(g.simulator) } respondWithJSON(res, http.StatusOK, newGameResp{i, "red"}) + return } if !g.bluePlayer.Ready { g.bluePlayer.Ready = true