From 21241b2c69b0460500caf4c7de89030efb27b701 Mon Sep 17 00:00:00 2001 From: winstxnhdw Date: Fri, 22 Dec 2023 01:24:04 +0800 Subject: [PATCH] refactor: expose `int` instead of `ulong` --- lc-hax/Scripts/Helpers/Map.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lc-hax/Scripts/Helpers/Map.cs b/lc-hax/Scripts/Helpers/Map.cs index 410ad8c3..bc187dbf 100644 --- a/lc-hax/Scripts/Helpers/Map.cs +++ b/lc-hax/Scripts/Helpers/Map.cs @@ -5,12 +5,12 @@ namespace Hax; public static partial class Helper { static ManualCameraRenderer? ManualCameraRenderer => Helper.StartOfRound?.mapScreen; - public static void SwitchRadarTarget(ulong playerClientId) { - Helper.ManualCameraRenderer?.SwitchRadarTargetServerRpc((int)playerClientId); + public static void SwitchRadarTarget(int playerClientId) { + Helper.ManualCameraRenderer?.SwitchRadarTargetServerRpc(playerClientId); } public static void SwitchRadarTarget(PlayerControllerB player) { - Helper.SwitchRadarTarget(player.playerClientId); + Helper.SwitchRadarTarget((int)player.playerClientId); } public static bool IsRadarTarget(ulong playerClientId) {