]> git.deb.at Git - rhonda/impostor.git/commitdiff
Log of correct reader
authorAeonLucid <aeonlucid@gmail.com>
Mon, 19 Dec 2022 14:59:14 +0000 (15:59 +0100)
committerAeonLucid <aeonlucid@gmail.com>
Mon, 19 Dec 2022 14:59:14 +0000 (15:59 +0100)
src/Impostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs

index 0d9b2a62e5d61e5810a5d8ebbb08f5ac48c574b5..ef4464e38e8c91d254e219b33172f3736d036151 100644 (file)
@@ -88,8 +88,8 @@ internal abstract class InnerGameManager : InnerNetObject, IInnerGameManager
                     "Server did not consume all bytes from {0} component {1} ({2} < {3}).",
                     nameof(InnerGameManager),
                     component.GetType().FullName,
-                    reader.Position,
-                    reader.Length);
+                    innerReader.Position,
+                    innerReader.Length);
             }
         }