Skip to content

Commit

Permalink
Compile releases from release dalamud, not staging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ottermandias committed Dec 1, 2023
1 parent e0fa8c9 commit a0328aa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: dotnet restore
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: dotnet restore
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build
run: |
Expand Down
24 changes: 12 additions & 12 deletions Penumbra/Interop/Services/RedrawService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,25 +245,25 @@ private void HandleRedraw()
if (FindCorrectActor(idx < 0 ? ~idx : idx, out var obj))
_afterGPoseQueue.Add(idx < 0 ? idx : ~idx);

if (obj != null)
if (obj == null)
continue;

if (idx < 0)
{
if (idx < 0)
if (DelayRedraw(obj))
{
if (DelayRedraw(obj))
{
_queue[numKept++] = ~ObjectTableIndex(obj);
}
else
{
WriteInvisible(obj);
_queue[numKept++] = ObjectTableIndex(obj);
}
_queue[numKept++] = ~ObjectTableIndex(obj);
}
else
{
WriteVisible(obj);
WriteInvisible(obj);
_queue[numKept++] = ObjectTableIndex(obj);
}
}
else
{
WriteVisible(obj);
}
}

_queue.RemoveRange(numKept, _queue.Count - numKept);
Expand Down

0 comments on commit a0328aa

Please sign in to comment.