Skip to content

Commit ebd1ee7

Browse files
committed
Fix
1 parent 4dc97d2 commit ebd1ee7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Content.Server/Nyanotrasen/Tools/ToolSystem.EarthDigging.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using Content.Shared.Tools.Components;
1010
using Robust.Server.GameObjects;
1111
using Robust.Shared.Map.Components;
12+
using Robust.Shared.Serialization;
1213

1314
namespace Content.Server.Tools;
1415

@@ -98,8 +99,8 @@ private bool TryDig(EntityUid user, EntityUid shovel, EarthDiggingComponent comp
9899
component.CancelToken = token;
99100

100101
var success = UseTool(
101-
tool: shovel,
102-
user: user,
102+
shovel,
103+
user,
103104
// FIXME
104105
target: EntityUid.FirstUid,
105106
doAfterDelay: component.Delay,
@@ -136,6 +137,7 @@ private bool TryDig(EntityUid user, EntityUid shovel, EarthDiggingComponent comp
136137
return true;
137138
}
138139

140+
[Serializable, NetSerializable]
139141
private sealed partial class EarthDiggingCompleteEvent : DoAfterEvent
140142
{
141143
public EntityCoordinates Coordinates { get; set; }

0 commit comments

Comments
 (0)