You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Fixes up the racial skin references in the model's materials.
1141
1143
/// this isn't actually necessary as the game will auto-resolve these regardless, but it's nice to do.
@@ -1153,13 +1155,12 @@ public static void FixUpSkinReferences(TTModel model, string newInternalPath, Ac
1153
1155
// It's not actually -NEEDED-, as the game will dynamically resolve them anyways to the player's skin material, but it's good for user expectation and sanity.
1154
1156
1155
1157
varraceRegex=newRegex("(c[0-9]{4})");
1156
-
varbodyRegex=newRegex("(b[0-9]{4})");
1157
1158
1158
1159
// So we have to do this step first.
1159
1160
varnewRaceMatch=raceRegex.Match(newInternalPath);
1160
1161
1161
1162
// Now model doesn't exist in a racial folder. Nothing to fix up/impossible to.
1162
-
if(!newRaceMatch.Success)
1163
+
if(!newRaceMatch.Success)
1163
1164
{
1164
1165
return;
1165
1166
}
@@ -1168,10 +1169,31 @@ public static void FixUpSkinReferences(TTModel model, string newInternalPath, Ac
0 commit comments