From 3f6ec61dfbfb440ea89bd1f22eff1c1ac36db76a Mon Sep 17 00:00:00 2001 From: Beyley Thomas Date: Wed, 31 Jul 2024 18:38:35 -0700 Subject: [PATCH] Dont check level asset type on PSP. PSP levels are not categorized as "Level" assets --- 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 3f31becc..4eb09cef 100644 --- a/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs +++ b/Refresh.GameServer/Endpoints/Game/Levels/PublishEndpoints.cs @@ -131,7 +131,7 @@ public Response PublishLevel(RequestContext context, if (!dataContext.DataStore.ExistsInStore(rootResourcePath)) return NotFound; GameAsset? asset = dataContext.Database.GetAssetFromHash(level.RootResource); - if (asset != null) + if (asset != null && dataContext.Game != TokenGame.LittleBigPlanetPSP) { // ReSharper disable once ConvertIfStatementToSwitchStatement if (level.IsAdventure && asset.AssetType != GameAssetType.AdventureCreateProfile)