Merge pull request #30 from diceroll123/patch-4

Tweak layer algorithm for bio overrides
This commit is contained in:
Emi Matchu 2022-12-22 18:49:17 -08:00 committed by GitHub
commit 82ecf9bbd3
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.bodyId !== "0" &&
(petAppearance.pose === "UNCONVERTED" ||
petOccupiedOrRestrictedZoneIds.has(layer.zone.id))
petOccupiedZoneIds.has(layer.zone.id))
) {
return false;
}