Skip to content

Commit cf0f378

Browse files
authored
Fix ResourceConsumptionChecker, would break on part count change
from jrossignol#708
1 parent b4c59ae commit cf0f378

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/ContractConfigurator/Parameter/VesselParameter/ResourceConsuption.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ void FixedUpdate()
6464
// Reset counter on vessel change
6565
if (partCount != localCount)
6666
{
67+
partCount = localCount;
6768
checks = 0;
6869
}
6970

0 commit comments

Comments
 (0)