v1.12.6.2 (Spring Update 2026)

This commit is contained in:
Regalis11
2026-04-09 15:10:07 +03:00
parent c8657caefa
commit a4607dffad
197 changed files with 5586 additions and 3461 deletions
@@ -448,9 +448,10 @@ namespace Barotrauma.Items.Components
UpdateProjSpecific(deltaTime);
IsTinkering = false;
if (prevSentConditionValue != (int)item.ConditionPercentage || conditionSignal == null)
int condition = (int)(item.Condition / (item.MaxCondition / item.MaxRepairConditionMultiplier) * 100f);
if (prevSentConditionValue != condition || conditionSignal == null)
{
prevSentConditionValue = (int)item.ConditionPercentage;
prevSentConditionValue = condition;
conditionSignal = prevSentConditionValue.ToString();
}