diff --git a/Unity-Technologies-networking/Weaver/UNetBehaviourProcessor.cs b/Unity-Technologies-networking/Weaver/UNetBehaviourProcessor.cs index 8f5b5f525..4dd7dac87 100644 --- a/Unity-Technologies-networking/Weaver/UNetBehaviourProcessor.cs +++ b/Unity-Technologies-networking/Weaver/UNetBehaviourProcessor.cs @@ -117,7 +117,7 @@ static void WriteCreateWriter(ILProcessor worker) static void WriteMessageSize(ILProcessor worker) { //write size - worker.Append(worker.Create(OpCodes.Ldloc_0)); + worker.Append(worker.Create(OpCodes.Ldloc_0)); // load 'writer.' worker.Append(worker.Create(OpCodes.Ldc_I4_0)); worker.Append(worker.Create(OpCodes.Callvirt, Weaver.NetworkWriterWriteInt16)); } @@ -125,7 +125,7 @@ static void WriteMessageSize(ILProcessor worker) static void WriteMessageId(ILProcessor worker, int msgId) { // write msg id - worker.Append(worker.Create(OpCodes.Ldloc_0)); + worker.Append(worker.Create(OpCodes.Ldloc_0)); // load 'writer.' worker.Append(worker.Create(OpCodes.Ldc_I4, msgId)); worker.Append(worker.Create(OpCodes.Conv_U2)); worker.Append(worker.Create(OpCodes.Callvirt, Weaver.NetworkWriterWriteInt16));