From 2d4d24e4682ce7f64e85e55f39e64bc41aa3632c Mon Sep 17 00:00:00 2001 From: jvyden Date: Tue, 30 Jul 2024 02:17:09 -0400 Subject: [PATCH] Update Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs Co-authored-by: Beyley Thomas Signed-off-by: jvyden --- Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs b/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs index e3a955cc..3f31becc 100644 --- a/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs +++ b/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs @@ -76,7 +76,7 @@ private static bool VerifyLevel(GameLevelRequest body, DataContext dataContext) { foreach (GameLevelRequest innerLevel in body.Slots) { - if (VerifyLevel(body, dataContext)) continue; + if (VerifyLevel(innerLevel, dataContext)) continue; context.Logger.LogInfo(RefreshContext.Publishing, "Failed to verify inner level {0}", innerLevel.LevelId); return null;