diff --git a/Live/CWX_DebuggingTool/BotmonClass.cs b/Live/CWX_DebuggingTool/BotmonClass.cs index 4eabb82..9dc8155 100644 --- a/Live/CWX_DebuggingTool/BotmonClass.cs +++ b/Live/CWX_DebuggingTool/BotmonClass.cs @@ -161,7 +161,7 @@ namespace CWX_DebuggingTool // _content += $"[{GetRotationToPlayer(_player, player)}]"; // } - _distance = Vector3.Distance(player.Transform.position, _player.Transform.position); + _distance = Vector3.Distance(player.CameraPosition.position, _player.Transform.position); _content += $"> [{_distance:n2}m] [{_playerRoleAndDiff.First(x => x.Key == player.ProfileId).Value.Role}] " + $"[{player.Profile.Side}] [{_playerRoleAndDiff.First(x => x.Key == player.ProfileId).Value.Difficulty}] {player.Profile.Nickname}\n"; } diff --git a/Live/CWX_DebuggingTool/Build/CWX_DebuggingTool.dll b/Live/CWX_DebuggingTool/Build/CWX_DebuggingTool.dll index cb43207..8395f17 100644 Binary files a/Live/CWX_DebuggingTool/Build/CWX_DebuggingTool.dll and b/Live/CWX_DebuggingTool/Build/CWX_DebuggingTool.dll differ