Subscribe TransformComponent events by-ref (#4478)

This commit is contained in:
Vera Aguilera Puerto
2021-08-21 11:49:31 +02:00
committed by GitHub
parent bbbebbadf7
commit ad5f7bb71b
16 changed files with 25 additions and 22 deletions

View File

@@ -282,7 +282,7 @@ namespace Content.Client.ContextMenu.UI
}
}
public void HandleMoveEvent(MoveEvent ev)
public void HandleMoveEvent(ref MoveEvent ev)
{
if (_contextMenuView.Elements.Count == 0) return;
var entity = ev.Sender;