mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fixed mistake with fill percentage
This commit is contained in:
parent
d339e18767
commit
11bb62b42c
@ -56,4 +56,12 @@ export class GoalAcceptorComponent extends Component {
|
|||||||
(globalConfig.puzzleModeSpeed * globalConfig.beltSpeedItemsPerSecond)
|
(globalConfig.puzzleModeSpeed * globalConfig.beltSpeedItemsPerSecond)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copy the current state to another component
|
||||||
|
* @param {GoalAcceptorComponent} otherComponent
|
||||||
|
*/
|
||||||
|
copyAdditionalStateTo(otherComponent) {
|
||||||
|
otherComponent.item = this.item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user