1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

removed gap between completion and fill as it doesn't look nice

This commit is contained in:
Sense101 2021-06-24 22:08:34 +01:00
parent 1abf4ebd56
commit e9b072746b
2 changed files with 1 additions and 6 deletions

View File

@ -72,7 +72,6 @@ export const globalConfig = {
readerAnalyzeIntervalSeconds: 10,
goalAcceptorItemsToFill: 10,
goalAcceptorItemsRequired: 13,
goalAcceptorsPerProducer: 5,
puzzleModeSpeed: 3,

View File

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