Skip to content

Commit 93a0163

Browse files
committed
Uncomment important code
1 parent 6ba6f44 commit 93a0163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NetcodePatcher/CodeGen/NetworkBehaviourILPP.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ private void ProcessNetworkBehaviour(TypeDefinition typeDefinition, string[] ass
11531153
}
11541154

11551155
GenerateVariableInitialization(typeDefinition);
1156-
/*
1156+
11571157
if (!typeDefinition.HasGenericParameters && !typeDefinition.IsGenericInstance)
11581158
{
11591159
var fieldTypes = new List<TypeReference>();
@@ -1266,7 +1266,7 @@ private void ProcessNetworkBehaviour(TypeDefinition typeDefinition, string[] ass
12661266
typeDefinition.Methods.Add(newGetTypeNameMethod);
12671267
}
12681268

1269-
m_MainModule.RemoveRecursiveReferences();*/
1269+
m_MainModule.RemoveRecursiveReferences();
12701270
}
12711271

12721272
private CustomAttribute CheckAndGetRpcAttribute(MethodDefinition methodDefinition)

0 commit comments

Comments
 (0)