(f0be0bba0) Fixed inability to repair items when they'er not deteriorating (was caused by 9a14162)
This commit is contained in:
@@ -114,11 +114,10 @@ namespace Barotrauma.Items.Components
|
||||
public override void Update(float deltaTime, Camera cam)
|
||||
{
|
||||
UpdateProjSpecific(deltaTime);
|
||||
|
||||
if (!ShouldDeteriorate()) { return; }
|
||||
|
||||
|
||||
if (CurrentFixer == null)
|
||||
{
|
||||
if (!ShouldDeteriorate()) { return; }
|
||||
if (item.Condition > 0.0f)
|
||||
{
|
||||
if (deteriorationTimer > 0.0f)
|
||||
|
||||
Reference in New Issue
Block a user