From 5e093faaa2b732840cea9f4a2ef9526c7c689890 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Wed, 8 Aug 2018 11:27:03 +0300 Subject: [PATCH] Fixed max recharge speeds of PowerContainers resetting to the default value after saving and reloading a sub. Closes #605 --- .../Source/Items/Components/Power/PowerContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerContainer.cs b/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerContainer.cs index 475d322a9..dce278300 100644 --- a/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerContainer.cs +++ b/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerContainer.cs @@ -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 {