fix logout
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.8.34</Version>
|
<Version>0.8.35</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||||
|
|||||||
@@ -303,7 +303,6 @@ public class DalamudUtilService : IHostedService
|
|||||||
const int tick = 250;
|
const int tick = 250;
|
||||||
int curWaitTime = 0;
|
int curWaitTime = 0;
|
||||||
_logger.LogTrace("RenderFlags: {flags}", obj->RenderFlags.ToString("X"));
|
_logger.LogTrace("RenderFlags: {flags}", obj->RenderFlags.ToString("X"));
|
||||||
// ReSharper disable once LoopVariableIsNeverChangedInsideLoop
|
|
||||||
while (obj->RenderFlags != 0x00 && curWaitTime < timeOut)
|
while (obj->RenderFlags != 0x00 && curWaitTime < timeOut)
|
||||||
{
|
{
|
||||||
_logger.LogTrace($"Waiting for gpose actor to finish drawing");
|
_logger.LogTrace($"Waiting for gpose actor to finish drawing");
|
||||||
@@ -382,11 +381,6 @@ public class DalamudUtilService : IHostedService
|
|||||||
|
|
||||||
private unsafe void FrameworkOnUpdateInternal()
|
private unsafe void FrameworkOnUpdateInternal()
|
||||||
{
|
{
|
||||||
if (_clientState.LocalPlayer == null)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_clientState.LocalPlayer?.IsDead ?? false)
|
if (_clientState.LocalPlayer?.IsDead ?? false)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user