mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-11 10:29:19 +00:00
Do not render belts in statics disabled view
This commit is contained in:
parent
1774502304
commit
6a57448fab
@ -497,6 +497,10 @@ export class BeltSystem extends GameSystem {
|
|||||||
* @param {MapChunkView} chunk
|
* @param {MapChunkView} chunk
|
||||||
*/
|
*/
|
||||||
drawChunk(parameters, chunk) {
|
drawChunk(parameters, chunk) {
|
||||||
|
if (G_IS_DEV && globalConfig.debug.doNotRenderStatics) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Limit speed to avoid belts going backwards
|
// Limit speed to avoid belts going backwards
|
||||||
const speedMultiplier = Math.min(this.root.hubGoals.getBeltBaseSpeed(), 10);
|
const speedMultiplier = Math.min(this.root.hubGoals.getBeltBaseSpeed(), 10);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user