Fixed minimap not powering up
This commit is contained in:
@@ -60,7 +60,8 @@ namespace Barotrauma.Items.Components
|
|||||||
|
|
||||||
currPowerConsumption = powerConsumption;
|
currPowerConsumption = powerConsumption;
|
||||||
|
|
||||||
if (voltage > minVoltage)
|
hasPower = voltage > minVoltage;
|
||||||
|
if (hasPower)
|
||||||
{
|
{
|
||||||
ApplyStatusEffects(ActionType.OnActive, deltaTime, null);
|
ApplyStatusEffects(ActionType.OnActive, deltaTime, null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user