This commit is contained in:
EvilFactory
2022-10-05 12:19:53 -03:00
9 changed files with 17 additions and 9 deletions
@@ -3216,7 +3216,6 @@ namespace Barotrauma
}
#endif
item.condition = element.GetAttributeFloat("condition", item.condition);
foreach (XAttribute attribute in (appliedSwap?.ConfigElement ?? element).Attributes())
{
if (!item.SerializableProperties.TryGetValue(attribute.NameAsIdentifier(), out SerializableProperty property)) { continue; }
@@ -3368,6 +3367,7 @@ namespace Barotrauma
item.PurchasedNewSwap = false;
}
item.condition = element.GetAttributeFloat("condition", item.condition);
item.condition = MathHelper.Clamp(item.condition, 0, item.MaxCondition);
item.lastSentCondition = item.condition;
item.RecalculateConditionValues();
@@ -1,3 +1,12 @@
---------------------------------------------------------------------------------------------------------
v0.19.10.0
---------------------------------------------------------------------------------------------------------
- Updated translations. Includes various fixes to existing translations. The Japanese translations in particular has been significantly improved.
- Fixes to Camel waypoints.
- Fixed pump in Camel's airlock not pumping out by default.
- Fixed high-quality fuel rods and other high-quality consumable items resetting to 100% between rounds.
---------------------------------------------------------------------------------------------------------
v0.19.9.0
---------------------------------------------------------------------------------------------------------