mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-11 04:57:22 +01:00
fix draw conditions when framework inactive
This commit is contained in:
parent
3e2cbaaee2
commit
34ce634ff6
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase, IHighP
|
|||
{
|
||||
while (await _dalamudUtil.RunOnFrameworkThread(() =>
|
||||
{
|
||||
if (_haltProcessing) CheckAndUpdateObject();
|
||||
if (CurrentDrawCondition != DrawCondition.None) return true;
|
||||
var gameObj = _dalamudUtil.CreateGameObject(Address);
|
||||
if (gameObj is Dalamud.Game.ClientState.Objects.Types.ICharacter chara)
|
||||
|
|
@ -355,6 +356,8 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase, IHighP
|
|||
|
||||
private bool IsBeingDrawn()
|
||||
{
|
||||
if (_haltProcessing) CheckAndUpdateObject();
|
||||
|
||||
if (_dalamudUtil.IsAnythingDrawing)
|
||||
{
|
||||
Logger.LogTrace("[{this}] IsBeingDrawn, Global draw block", this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue