Generalize tile prying to any tool quality (#24432)

* Generalize tile prying to any tool quality

* ballin
This commit is contained in:
Nemanja
2024-01-23 02:45:40 -05:00
committed by GitHub
parent 258b9436b5
commit 5e2e652165
22 changed files with 267 additions and 389 deletions

View File

@@ -5,7 +5,7 @@ using Content.Shared.Tools.Components;
namespace Content.Shared.Tools.Systems;
public abstract partial class SharedToolSystem : EntitySystem
public abstract partial class SharedToolSystem
{
public void InitializeMultipleTool()
{
@@ -57,7 +57,7 @@ public abstract partial class SharedToolSystem : EntitySystem
if (!Resolve(uid, ref multiple, ref tool))
return;
Dirty(multiple);
Dirty(uid, multiple);
if (multiple.Entries.Length <= multiple.CurrentEntry)
{