fuck this shit

This commit is contained in:
Stanley Dimant
2022-07-26 20:10:36 +02:00
parent 975a813b7f
commit a36424d57b
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors></Authors> <Authors></Authors>
<Company></Company> <Company></Company>
<Version>0.2.6.0</Version> <Version>0.2.7.0</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>

View File

@@ -104,7 +104,7 @@ namespace MareSynchronos.Models
var newWeaponOrVisorState = Marshal.ReadByte((IntPtr)customizeData + 31, 0); var newWeaponOrVisorState = Marshal.ReadByte((IntPtr)customizeData + 31, 0);
if (newHatState != HatState) if (newHatState != HatState)
{ {
if (HatState != null && !hasChanges) if (HatState != null && !hasChanges && !HasUnprocessedUpdate)
{ {
Logger.Verbose("Not Sending Update, only Hat changed"); Logger.Verbose("Not Sending Update, only Hat changed");
DoNotSendUpdate = true; DoNotSendUpdate = true;
@@ -115,7 +115,7 @@ namespace MareSynchronos.Models
if (newWeaponOrVisorState != VisorWeaponState) if (newWeaponOrVisorState != VisorWeaponState)
{ {
if (VisorWeaponState != null && !hasChanges) if (VisorWeaponState != null && !hasChanges && !HasUnprocessedUpdate)
{ {
Logger.Verbose("Not Sending Update, only Visor/Weapon changed"); Logger.Verbose("Not Sending Update, only Visor/Weapon changed");
DoNotSendUpdate = true; DoNotSendUpdate = true;