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:
@@ -205,7 +205,7 @@ namespace Barotrauma
|
||||
|
||||
if (draggingItem != null && !draggingItemSlot.Contains(PlayerInput.MousePosition) && draggingItem.Container == this.Owner)
|
||||
{
|
||||
if (PlayerInput.LeftButtonDown())
|
||||
if (PlayerInput.LeftButtonHeld())
|
||||
{
|
||||
slotRect.X = (int)PlayerInput.MousePosition.X - slotRect.Width / 2;
|
||||
slotRect.Y = (int)PlayerInput.MousePosition.Y - slotRect.Height / 2;
|
||||
@@ -261,7 +261,7 @@ namespace Barotrauma
|
||||
{
|
||||
if (draggingItem == null)
|
||||
{
|
||||
if (PlayerInput.LeftButtonDown())
|
||||
if (PlayerInput.LeftButtonHeld())
|
||||
{
|
||||
draggingItem = item;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user