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

Disable automatic rotation for buildings except belts

This commit is contained in:
Tobias Springer
2020-05-10 19:01:33 +02:00
parent d2864e7385
commit a26ef05543
3 changed files with 21 additions and 7 deletions

View File

@@ -65,6 +65,10 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
return true;
}
getRotateAutomaticallyWhilePlacing() {
return true;
}
/**
* Creates the entity at the given location
* @param {Entity} entity