mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
fix gpose and disposal of charas when losing sight
This commit is contained in:
parent
6663b736df
commit
b4e96a873d
5 changed files with 8 additions and 17 deletions
|
|
@ -206,7 +206,7 @@ public class CachedPlayer : MediatorSubscriberBase, IDisposable
|
|||
{
|
||||
if (PlayerName == null || _currentOtherChara == null
|
||||
|| !string.Equals(PlayerName, _currentOtherChara.Name, StringComparison.Ordinal)
|
||||
|| _currentOtherChara.Address == IntPtr.Zero)
|
||||
|| _currentOtherChara.CurrentAddress == IntPtr.Zero)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue