From 416bb233e19353dbaef19fb1e08d3b46fe481096 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 12 Mar 2024 01:54:52 +0000 Subject: [PATCH] barf: correct last phase number --- web/barf/frontend/frontend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/barf/frontend/frontend.go b/web/barf/frontend/frontend.go index 33c2ee590a..31d1cd6ecb 100644 --- a/web/barf/frontend/frontend.go +++ b/web/barf/frontend/frontend.go @@ -123,7 +123,7 @@ func (a *application) ServeHTTP(rw http.ResponseWriter, r *http.Request) { http.Error(rw, "response data corrupt!", http.StatusInternalServerError) return } - if response.CurrentPhase >= 5 { + if response.CurrentPhase >= 6 { // Make sure people who have saved _completion_ start at the beginning. response.CurrentPhase = 0 response.CurrentPhaseDialog = 0