1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Disable direction lock for everything but belts

This commit is contained in:
tobspr
2020-06-16 20:10:00 +02:00
parent e2d6d9d51d
commit 31ab5f3422
4 changed files with 24 additions and 4 deletions

View File

@@ -22,6 +22,10 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
return "#777";
}
getHasDirectionLockAvailable() {
return true;
}
/**
* @param {GameRoot} root
* @param {string} variant

View File

@@ -38,6 +38,10 @@ export class MetaUndergroundBeltBuilding extends MetaBuilding {
return true;
}
getHasDirectionLockAvailable() {
return true;
}
getStayInPlacementMode() {
return true;
}