(17bb71ed5) Fix repair tool not being used if the repair target is not within interaction area. Fixes repairing items with the welding tool. Partial fix to #63 (dev).
This commit is contained in:
+4
-4
@@ -83,12 +83,12 @@ namespace Barotrauma
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (repairTool == null)
|
||||||
|
{
|
||||||
|
FindRepairTool();
|
||||||
|
}
|
||||||
if (character.CanInteractWith(Item))
|
if (character.CanInteractWith(Item))
|
||||||
{
|
{
|
||||||
if (repairTool == null)
|
|
||||||
{
|
|
||||||
FindRepairTool();
|
|
||||||
}
|
|
||||||
if (repairTool != null)
|
if (repairTool != null)
|
||||||
{
|
{
|
||||||
OperateRepairTool(deltaTime);
|
OperateRepairTool(deltaTime);
|
||||||
|
|||||||
Reference in New Issue
Block a user