Welding tool, plasma cutter & misc item fixes/improvements

This commit is contained in:
Regalis
2015-06-10 01:13:34 +03:00
parent d7fde606e9
commit 270efd77e0
32 changed files with 275 additions and 95 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ namespace Subsurface.Items.Components
return true;
}
public override bool Use(Character character = null)
public override bool Use(float deltaTime, Character character = null)
{
if (!attachable || item.body==null) return false;
@@ -213,7 +213,7 @@ namespace Subsurface.Items.Components
public override void OnMapLoaded()
{
if (attached) Use();
if (attached) Use(1.0f);
}
}
}