From ba386e1247d8a42eb36a809262dfd8bb295b40aa Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 24 Feb 2023 08:29:08 -0700 Subject: [PATCH] Have the solve incrementation use the proper config option --- src/endpoints/guess.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/guess.ts b/src/endpoints/guess.ts index be214a6..30d9c6c 100644 --- a/src/endpoints/guess.ts +++ b/src/endpoints/guess.ts @@ -49,7 +49,7 @@ const route: ServerRoute = { if (guess === solved) { won = true; } else { - data.incorrect += config.game.incorrect_solve_penalty; + data.incorrect += config.game.penalties.solve; }; };