(513733e88) Check that the character is inside the same room as the target before repairing/operating an item.
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ namespace Barotrauma
|
||||
{
|
||||
FindRepairTool();
|
||||
}
|
||||
if (character.CanInteractWith(Item))
|
||||
if (character.CurrentHull == Item.CurrentHull && character.CanInteractWith(Item))
|
||||
{
|
||||
if (repairTool != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user