add fuel costs back to finishing welding (#27030)
* add fuel costs back to welding * ack * meh * eek!
This commit is contained in:
@@ -11,10 +11,8 @@ using Content.Shared.DoAfter;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Prying.Systems;
|
||||
using Content.Shared.Radio.EntitySystems;
|
||||
using Content.Shared.Tools.Components;
|
||||
using Content.Shared.Tools.Systems;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Utility;
|
||||
#if EXCEPTION_TOLERANCE
|
||||
// ReSharper disable once RedundantUsingDirective
|
||||
@@ -369,7 +367,8 @@ namespace Content.Server.Construction
|
||||
TimeSpan.FromSeconds(toolInsertStep.DoAfter),
|
||||
new [] { toolInsertStep.Tool },
|
||||
new ConstructionInteractDoAfterEvent(EntityManager, interactUsing),
|
||||
out var doAfter);
|
||||
out var doAfter,
|
||||
toolInsertStep.Fuel);
|
||||
|
||||
return result && doAfter != null ? HandleResult.DoAfter : HandleResult.False;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user