From f547cb2ddb387304ee371cb46eba486ea724f095 Mon Sep 17 00:00:00 2001 From: CWXDEV Date: Wed, 24 Jan 2024 20:22:12 +0000 Subject: [PATCH] asd --- Live/CWX_DebuggingTool/BotmonClass.cs | 2 +- .../Build/CWX_DebuggingTool.dll | Bin 14848 -> 14848 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 cb43207436e10a9badc32db4d6c425633e088eb6..8395f177b9a9a7f311933464ea748513bad6a6ac 100644 GIT binary patch delta 248 zcmZoDX(*Y{!J>a|*5Qpk$Jp5%7#O(n9XCgCG$;yWc(+ZgP}X*CYyaK8TcMz6^9#*o ztQtm^sY&K(NfrjiX31&ECKhIv28qdrh9+j_Nycf3DJiLm=82|BX@;A(>Ca+h*`e{| z`s5J90D*F$WRCK(9G^8SBbL2pl2f0&#V}q0DyWkK6$GiCmiBjL(3%r*EZZlO*1i0GfdsQO@9_6OAE`Z zW0OM+0|fqjKG1#l-ZQ_wnoYIla%xK^Z!wHlfC~PD2?ABSi7KYvYw)$G?2YZ<*=%gY z$m(yxV9sE{ki=lhV8CF^kjRh*BrU;W7C@FUP&}Ez42VIpmJEgrCP1~u3`Rh4Goace VpiC-|HUWyI0cBG+H=EZo0RR$gO=$oC