Skip to content

Commit

Permalink
refactor: expose int instead of ulong
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Dec 21, 2023
1 parent 0905639 commit 21241b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lc-hax/Scripts/Helpers/Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 21241b2

Please sign in to comment.