1
0
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:
Sense101 2021-06-25 11:31:26 +01:00
parent 11bb62b42c
commit feb780394b

View File

@ -69,7 +69,7 @@ export class GoalAcceptorSystem extends GameSystemWithFilter {
const requiredItems = globalConfig.goalAcceptorItemsRequired;
const fillPercentage = clamp(requiredItems, 0, 1);
const fillPercentage = clamp(goalComp.currentDeliveredItems / requiredItems, 0, 1);
const center = staticComp.getTileSpaceBounds().getCenter().toWorldSpace();
if (item) {