do not recreate cache when weapon got drawn

This commit is contained in:
Stanley Dimant
2022-07-30 01:57:30 +02:00
parent a486954248
commit 4e988984d7
2 changed files with 3 additions and 1 deletions

View File

@@ -113,6 +113,8 @@ namespace MareSynchronos.Models
hasChanges = true;
}
newWeaponOrVisorState &= 0b1101; // ignore drawing weapon
if (newWeaponOrVisorState != VisorWeaponState)
{
if (VisorWeaponState != null && !hasChanges && !HasUnprocessedUpdate)