Fixed max recharge speeds of PowerContainers resetting to the default value after saving and reloading a sub. Closes #605

This commit is contained in:
Joonas Rikkonen
2018-08-08 11:27:03 +03:00
parent 506c13c929
commit 5e093faaa2

View File

@@ -76,7 +76,7 @@ namespace Barotrauma.Items.Components
}
}
[Serialize(10.0f, false), Editable(ToolTip = "How fast the device can be recharged. "+
[Serialize(10.0f, true), Editable(ToolTip = "How fast the device can be recharged. "+
"For example, a recharge speed of 100 kW and a capacity of 1000 kW*min would mean it takes 10 minutes to fully charge the device.")]
public float MaxRechargeSpeed
{