Tweak layer algorithm for bio overrides

This commit is contained in:
Steve C 2022-12-12 08:50:38 -05:00 committed by GitHub
parent 7d64709378
commit 722f6b55a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ function getVisibleLayers(petAppearance, itemAppearances) {
layer.source === "item" && layer.source === "item" &&
layer.bodyId !== "0" && layer.bodyId !== "0" &&
(petAppearance.pose === "UNCONVERTED" || (petAppearance.pose === "UNCONVERTED" ||
petOccupiedOrRestrictedZoneIds.has(layer.zone.id)) petOccupiedZoneIds.has(layer.zone.id))
) { ) {
return false; return false;
} }