Added battery recharge docks, moved applying OnActive statuseffects to the Powered itemcomponent, removed smoke particles from stun baton hit effect
This commit is contained in:
@@ -62,6 +62,11 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
hasPower = voltage > minVoltage;
|
||||
|
||||
if (hasPower)
|
||||
{
|
||||
ApplyStatusEffects(ActionType.OnActive, deltaTime, null);
|
||||
}
|
||||
|
||||
voltage = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user