From bb6ff3181fafa5252b70d7a70ead0203857a9bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Thu, 8 Oct 2026 05:26:36 +0300 Subject: [PATCH] Fix EHANDLE Set extension modifying a copy --- Game.Shared/EHandle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }