Change Rogue Company game to custom + update CUE4Parse

This commit is contained in:
GMatrixGames
2021-07-16 17:25:44 -04:00
parent feee89f2e2
commit d39dd12389
3 changed files with 3 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ namespace FModel.Settings
{FGame.StateOfDecay2, EGame.GAME_SOD2},
{FGame.Prospect, EGame.GAME_UE4_LATEST},
{FGame.Indiana, EGame.GAME_UE4_LATEST},
{FGame.RogueCompany, EGame.GAME_UE4_LATEST},
{FGame.RogueCompany, EGame.GAME_ROGUECOMPANY},
{FGame.SwGame, EGame.GAME_UE4_LATEST},
{FGame.Platform, EGame.GAME_UE4_25},
{FGame.BendGame, EGame.GAME_UE4_11}

View File

@@ -185,7 +185,7 @@ namespace FModel.ViewModels
{
for (var j = 0; j < sections.Length; j++)
{
if (sections[j].Material.Value is not { } unrealMaterial)
if (sections[j].Material?.Value is not { } unrealMaterial)
continue;
var parameters = new CMaterialParams();