Updates ComponentHandleState usages to be by-ref (#4535)
This commit is contained in:
committed by
GitHub
parent
9cf37b6e68
commit
f15ed2ba50
@@ -62,7 +62,7 @@ namespace Content.Shared.Stacks
|
||||
RaiseLocalEvent(uid, new StackCountChangedEvent(old, component.Count));
|
||||
}
|
||||
|
||||
private void OnStackHandleState(EntityUid uid, SharedStackComponent component, ComponentHandleState args)
|
||||
private void OnStackHandleState(EntityUid uid, SharedStackComponent component, ref ComponentHandleState args)
|
||||
{
|
||||
if (args.Current is not StackComponentState cast)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user