Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: the DeleeOffset will only drawn in combat.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 8, 2023
1 parent 031891d commit 7b13fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RotationSolver/UI/OverlayWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private static void DrawPositional()
float radius = target.HitboxRadius + Service.Player.HitboxRadius + 3;
float rotation = target.Rotation;

if (Service.Config.DrawMeleeOffset)
if (Service.Config.DrawMeleeOffset && DataCenter.InCombat)
{
var offsetColor = new Vector3(0.8f, 0.3f, 0.2f);
List<Vector2> pts1 = new List<Vector2>(4 * COUNT);
Expand Down
2 changes: 1 addition & 1 deletion UpdateDownloads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const output = await Promise.all(repos.map(async (repo) => {
const base = {
AssemblyVersion: data.tag_name.replace(/^v/, ""),
Changelog: clearText(data.body),
DownloadCount: data.assets.reduce((x, y) => +x.download_count + +y.download_count),
DownloadCount: data.assets[0].download_count,
LastUpdate: new Date(data.published_at).valueOf() / 1000,
DownloadLinkInstall: data.assets[0].browser_download_url,
DownloadLinkUpdate: data.assets[0].browser_download_url,
Expand Down

0 comments on commit 7b13fcf

Please sign in to comment.