mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Implements some linter recommendations for CI check.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
import { Math_abs, Math_degrees, Math_round } from "../../../core/builtins";
|
||||
import { globalConfig } from "../../../core/config";
|
||||
import { gMetaBuildingRegistry } from "../../../core/global_registries";
|
||||
@@ -61,8 +60,7 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
|
||||
}
|
||||
const id = this.currentMetaBuilding.get().getId();
|
||||
return this.preferredRotations[id] || this.currentBaseRotationGeneral;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
this.setBaseRotation = function (rotation) {
|
||||
const rotationByBuilding = this.root.app.settings.getAllSettings().rotationByBuilding;
|
||||
@@ -72,8 +70,7 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
|
||||
const id = this.currentMetaBuilding.get().getId();
|
||||
this.preferredRotations[id] = rotation;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* Whether we are currently dragging
|
||||
|
||||
Reference in New Issue
Block a user