diff --git a/Game.Shared/EHandle.cs b/Game.Shared/EHandle.cs index 132594676..0e0180cd9 100644 --- a/Game.Shared/EHandle.cs +++ b/Game.Shared/EHandle.cs @@ -21,7 +21,7 @@ public static class HandleExts { /// /// /// - public static void Set(this Handle handle, Handle entity) where T : IHandleEntity { + public static void Set(ref this Handle handle, Handle entity) where T : IHandleEntity { handle.Index = entity.Index; } }