(f0be0bba0) Fixed inability to repair items when they'er not deteriorating (was caused by 9a14162)
This commit is contained in:
@@ -115,10 +115,9 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
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