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:
parent
1abf4ebd56
commit
e9b072746b
@ -72,7 +72,6 @@ export const globalConfig = {
|
||||
|
||||
readerAnalyzeIntervalSeconds: 10,
|
||||
|
||||
goalAcceptorItemsToFill: 10,
|
||||
goalAcceptorItemsRequired: 13,
|
||||
goalAcceptorsPerProducer: 5,
|
||||
puzzleModeSpeed: 3,
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user