mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Reset cache before emitting each framework event
This commit is contained in:
parent
00ee30f0d9
commit
ebbd79274b
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ namespace Dalamud.Game.Internal {
|
|||
public event OnUpdateDelegate OnUpdateEvent;
|
||||
|
||||
private Hook<OnUpdateDetour> updateHook;
|
||||
private Dalamud dalamud;
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -49,6 +50,8 @@ namespace Dalamud.Game.Internal {
|
|||
#endregion
|
||||
|
||||
public Framework(SigScanner scanner, Dalamud dalamud) {
|
||||
this.dalamud = dalamud;
|
||||
|
||||
Address = new FrameworkAddressResolver();
|
||||
Address.Setup(scanner);
|
||||
|
||||
|
|
@ -101,6 +104,7 @@ namespace Dalamud.Game.Internal {
|
|||
|
||||
private bool HandleFrameworkUpdate(IntPtr framework) {
|
||||
try {
|
||||
dalamud.ClientState.Actors.ResetCache();
|
||||
Gui.Chat.UpdateQueue(this);
|
||||
Network.UpdateQueue(this);
|
||||
} catch (Exception ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue