aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/admin/handler.go')
-rw-r--r--backend/admin/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go
index d540f57..5398107 100644
--- a/backend/admin/handler.go
+++ b/backend/admin/handler.go
@@ -231,7 +231,7 @@ func (h *Handler) postGameEdit(c echo.Context) error {
{
// TODO:
- if state != row.State && state == "prepare" {
+ if state != row.State && state == "starting" {
err := h.hubs.StartGame(int(gameID))
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())