mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
showcase mira stuff
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user