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.
@@ -1148,23 +1149,41 @@ public static void FixUpSkinReferences(TTModel model, string newInternalPath, Ac
1148
1149
// 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.
1149
1150
1150
1151
varraceRegex=newRegex("(c[0-9]{4})");
1152
+
varbodyRegex=newRegex("(b[0-9]{4})");
1153
+
1151
1154
// So we have to do this step first.
1152
1155
varnewRaceMatch=raceRegex.Match(newInternalPath);
1153
1156
1157
+
// Now model doesn't exist in a racial folder. Nothing to fix up/impossible to.
1154
1158
if(!newRaceMatch.Success)
1155
1159
{
1156
1160
return;
1157
1161
}
1158
1162
1159
1163
loggingFunction(false,"Fixing up racial skin references...");
0 commit comments