From a7443c16a0e240b50b4026f98ad60d5e744fc6a5 Mon Sep 17 00:00:00 2001 From: LumaLivy <7350336+LumaLivy@users.noreply.github.com> Date: Fri, 19 Nov 2021 23:38:22 -0500 Subject: [PATCH] Messed up merge conflict? Fixed --- .../Controllers/EnterLevelController.cs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ProjectLighthouse/Controllers/EnterLevelController.cs b/ProjectLighthouse/Controllers/EnterLevelController.cs index d704cfcc..af799c02 100644 --- a/ProjectLighthouse/Controllers/EnterLevelController.cs +++ b/ProjectLighthouse/Controllers/EnterLevelController.cs @@ -62,12 +62,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers { v = await visited.FirstOrDefaultAsync(); } - if (v == null) return this.StatusCode(403, ""); - - if (v == null) - { - return this.NotFound(); - } + + if (v == null) return this.NotFound(); switch (gameVersion) { @@ -119,12 +115,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers { v = await visited.FirstOrDefaultAsync(); } - if (v == null) return StatusCode(403, ""); - if (v == null) - { - return this.NotFound(); - } + if (v == null) return this.NotFound(); slot.PlaysLBP1++; v.PlaysLBP1++;