From 9d54bf7bb1d5a1c27675ea825cd5edcc4988e907 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Tue, 2 Apr 2019 02:26:01 -0500 Subject: [PATCH] style: naming convention --- Assets/Mirror/Editor/Weaver/Processors/SyncVarProcessor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Mirror/Editor/Weaver/Processors/SyncVarProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/SyncVarProcessor.cs index 6f9e47aee..b2949cdb8 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/SyncVarProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/SyncVarProcessor.cs @@ -7,7 +7,7 @@ namespace Mirror.Weaver { public static class SyncVarProcessor { - const int k_SyncVarLimit = 64; // ulong = 64 bytes + const int SyncVarLimit = 64; // ulong = 64 bytes // returns false for error, not for no-hook-exists public static bool CheckForHookFunction(TypeDefinition td, FieldDefinition syncVar, out MethodDefinition foundMethod) @@ -313,9 +313,9 @@ public static void ProcessSyncVars(TypeDefinition td, List sync dirtyBitCounter += 1; numSyncVars += 1; - if (dirtyBitCounter == k_SyncVarLimit) + if (dirtyBitCounter == SyncVarLimit) { - Weaver.Error("Script class [" + td.FullName + "] has too many SyncVars (" + k_SyncVarLimit + "). (This could include base classes)"); + Weaver.Error("Script class [" + td.FullName + "] has too many SyncVars (" + SyncVarLimit + "). (This could include base classes)"); return; } break;