Skip to content

Commit

Permalink
Fix positioning, reduce radius
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Jan 27, 2024
1 parent e771310 commit 75a9cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/Markers/WardenMarkerBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public WardenMarkerBehavior(IWardenService warden)

public void Start(BasePlugin plugin)
{
_marker = new BeamCircle(plugin, new Vector(), 80f, (int)Math.PI * 80);
_marker = new BeamCircle(plugin, new Vector(), 60f, (int)Math.PI * 15);
plugin.AddCommandListener("player_ping", CommandListener_PlayerPing);
}

Expand Down
4 changes: 2 additions & 2 deletions public/Jailbreak.Public/Mod/Draw/BeamCircle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public override void Draw()
for (var i = 0; i < lines.Length; i++)
{
var line = lines[i];
var start = offsets[i];
var end = offsets[(i + 1) % offsets.Length];
var start = position + offsets[i];
var end = position + offsets[(i + 1) % offsets.Length];
if (line == null)
{
line = new BeamLine(plugin, start, end);
Expand Down

0 comments on commit 75a9cd1

Please sign in to comment.