more spellbreak icon generation support

This commit is contained in:
minshug 2020-10-11 21:20:56 +05:30
parent 279482425c
commit a9839efe09

View File

@ -27,6 +27,11 @@ namespace FModel.Creator
int index = Globals.Game.ActualGame == EGame.Valorant || Globals.Game.ActualGame == EGame.Spellbreak ? 1 : 0;
string exportType = exportTypes.Length > index ? exportTypes[index].String : string.Empty;
if (Globals.Game.ActualGame == EGame.Spellbreak & exportType == "BlueprintGeneratedClass"){ // there should better way to do this
index++;
exportType = exportTypes.Length > index ? exportTypes[index].String : string.Empty;
}
switch (exportType)
{
case "AthenaConsumableEmoteItemDefinition":