Supercapacitors have much higher max output but smaller capacity, fixed not being able to drag wire nodes in editor, batteries working properly now
This commit is contained in:
@@ -351,7 +351,7 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
if (selectedNodeIndex == null && draggingWire == null)// && !MapEntity.SelectedAny)
|
||||
{
|
||||
if (PlayerInput.LeftButtonClicked())
|
||||
if (PlayerInput.LeftButtonDown())
|
||||
{
|
||||
MapEntity.DisableSelect = true;
|
||||
MapEntity.SelectEntity(item);
|
||||
@@ -367,7 +367,7 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
}
|
||||
|
||||
if (PlayerInput.LeftButtonDown())
|
||||
if (PlayerInput.LeftButtonHeld())
|
||||
{
|
||||
if (selectedNodeIndex != null && draggingWire == this)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user