Fixed wire drop/connect bugs, fixed powertransfer signal StackOverflowException, inventory icons

This commit is contained in:
Regalis
2015-07-19 17:34:48 +03:00
parent baa207985c
commit 2dd0a60bc4
8 changed files with 88 additions and 37 deletions

View File

@@ -141,9 +141,9 @@ namespace Subsurface.Items.Components
{
base.ReceiveSignal(signal, connection, sender, power);
if (connection.Name=="signal")
if (connection.Name == "signal")
{
connection.SendSignal(signal, item, 0.0f);
connection.SendSignal(signal, sender, 0.0f);
}
}