Skip to content

Commit

Permalink
fix(client): parse sync info
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Jan 9, 2024
1 parent fbc5090 commit e2160bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/AltV.Net.Client/Elements/Data/SyncInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public uint[] GetPropertiesUpdateTick()
return Array.Empty<uint>();
}

var value = ComponentPropertyIndex;
var value = PropertiesUpdateTick;
var values = new uint[PropertyCount];
var buffer = new byte[4];

Expand All @@ -45,7 +45,7 @@ public uint[] GetComponentPropertyIndex()
}

var value = ComponentPropertyIndex;
var values = new uint[ComponentCount];
var values = new uint[ComponentCount - 1];
var buffer = new byte[4];

for (var i = 0; i < values.Length; i++)
Expand Down

0 comments on commit e2160bb

Please sign in to comment.