Compile releases from release dalamud, not staging.

This commit is contained in:
Ottermandias 2023-12-01 16:29:36 +01:00
parent e0fa8c9285
commit a0328aab35
3 changed files with 14 additions and 14 deletions

View file

@ -20,7 +20,7 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Download Dalamud - name: Download Dalamud
run: | 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" Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build - name: Build
run: | run: |

View file

@ -20,7 +20,7 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Download Dalamud - name: Download Dalamud
run: | 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" Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build - name: Build
run: | run: |

View file

@ -245,25 +245,25 @@ public sealed unsafe partial class RedrawService : IDisposable
if (FindCorrectActor(idx < 0 ? ~idx : idx, out var obj)) if (FindCorrectActor(idx < 0 ? ~idx : idx, out var obj))
_afterGPoseQueue.Add(idx < 0 ? idx : ~idx); _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);
{
_queue[numKept++] = ~ObjectTableIndex(obj);
}
else
{
WriteInvisible(obj);
_queue[numKept++] = ObjectTableIndex(obj);
}
} }
else else
{ {
WriteVisible(obj); WriteInvisible(obj);
_queue[numKept++] = ObjectTableIndex(obj);
} }
} }
else
{
WriteVisible(obj);
}
} }
_queue.RemoveRange(numKept, _queue.Count - numKept); _queue.RemoveRange(numKept, _queue.Count - numKept);