mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Allowed for copying acceptors to remember the required shape
This commit is contained in:
parent
11bb62b42c
commit
feb780394b
@ -69,7 +69,7 @@ export class GoalAcceptorSystem extends GameSystemWithFilter {
|
|||||||
|
|
||||||
const requiredItems = globalConfig.goalAcceptorItemsRequired;
|
const requiredItems = globalConfig.goalAcceptorItemsRequired;
|
||||||
|
|
||||||
const fillPercentage = clamp(requiredItems, 0, 1);
|
const fillPercentage = clamp(goalComp.currentDeliveredItems / requiredItems, 0, 1);
|
||||||
|
|
||||||
const center = staticComp.getTileSpaceBounds().getCenter().toWorldSpace();
|
const center = staticComp.getTileSpaceBounds().getCenter().toWorldSpace();
|
||||||
if (item) {
|
if (item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user