Skip to content

Commit

Permalink
Fix Skin Package Validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Mar 19, 2024
1 parent 88714fa commit 1bfccab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/bbPlayer.uc
Original file line number Diff line number Diff line change
Expand Up @@ -8202,7 +8202,7 @@ local string pkg, SkinItem, MeshName;
MeshName = SkinActor.GetItemName(string(SkinActor.Default.Mesh));
SkinItem = SkinActor.GetItemName(SkinName);
pkg = Left(SkinName, Len(SkinName) - Len(SkinItem) - 1);
bProscribed = !CheckValidSkinPackage(SkinName, MeshName);
bProscribed = !CheckValidSkinPackage(pkg, MeshName);
if ( bProscribed )
log("Attempted to use illegal skin from package "$pkg$" for "$MeshName);
}
Expand Down

0 comments on commit 1bfccab

Please sign in to comment.