mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2025-12-06 10:31:33 -08:00
Pass variant and rotationVariant to getIsReplaceable
This commit is contained in:
parent
895a9eb7ae
commit
556caed760
11 changed files with 44 additions and 49 deletions
|
|
@ -15,9 +15,9 @@ const BeltExtension = ({ $super, $old }) => ({
|
|||
return !$old.getShowWiresLayerPreview();
|
||||
},
|
||||
|
||||
getIsReplaceable() {
|
||||
getIsReplaceable(variant, rotationVariant) {
|
||||
// Instead of super, use $super
|
||||
return $super.getIsReplaceable.call(this);
|
||||
return $super.getIsReplaceable.call(this, variant, rotationVariant);
|
||||
},
|
||||
|
||||
getIsRemoveable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue