diff --git a/ReplayDecoder/Replay.cs b/ReplayDecoder/Replay.cs index 6d8ba3e..13f273e 100644 --- a/ReplayDecoder/Replay.cs +++ b/ReplayDecoder/Replay.cs @@ -30,7 +30,7 @@ public class ReplayInfo public string playerName; public string platform; - public string trackingSytem; + public string trackingSystem; public string hmd; public string controller; @@ -497,7 +497,7 @@ static void EncodeInfo(ReplayInfo info, BinaryWriter stream) EncodeString(info.playerName, stream); EncodeString(info.platform, stream); - EncodeString(info.trackingSytem, stream); + EncodeString(info.trackingSystem, stream); EncodeString(info.hmd, stream); EncodeString(info.controller, stream); @@ -726,7 +726,7 @@ public async Task DecodeInfo(Stream stream) result.playerName = await DecodeString(stream); result.platform = await DecodeString(stream); - result.trackingSytem = await DecodeString(stream); + result.trackingSystem = await DecodeString(stream); result.hmd = await DecodeString(stream); result.controller = await DecodeString(stream); @@ -1032,7 +1032,7 @@ private static ReplayInfo DecodeInfo(byte[] buffer, ref int pointer) result.playerName = DecodeName(buffer, ref pointer); result.platform = DecodeString(buffer, ref pointer); - result.trackingSytem = DecodeString(buffer, ref pointer); + result.trackingSystem = DecodeString(buffer, ref pointer); result.hmd = DecodeString(buffer, ref pointer); result.controller = DecodeString(buffer, ref pointer);