showcase mira stuff

This commit is contained in:
XtraCube committed 2024-08-31 15:31:41 -04:00
1 parent 8fe58ca6ca
commit 06c59c5103
1 file changed
+2 -2
@@ -21,9 +21,9 @@ public class FreezeButton : CustomActionButton<PlayerControl>
Target?.RpcAddModifier<FreezeModifier>();
}
public override PlayerControl GetTarget()
public override PlayerControl? GetTarget()
{
return PlayerControl.LocalPlayer.Data.Role.FindClosestTarget();
return PlayerControl.LocalPlayer.GetClosestPlayer(true, Distance, false);
}
public override void SetOutline(bool active)