Updates ComponentHandleState usages to be by-ref (#4535)
This commit is contained in:
committed by
GitHub
parent
9cf37b6e68
commit
f15ed2ba50
@@ -56,7 +56,7 @@ namespace Content.Shared.Placeable
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
private void OnHandleState(EntityUid uid, PlaceableSurfaceComponent component, ComponentHandleState args)
|
||||
private void OnHandleState(EntityUid uid, PlaceableSurfaceComponent component, ref ComponentHandleState args)
|
||||
{
|
||||
if (args.Current is not PlaceableSurfaceComponentState state)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user