mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Use actual types instead of var because it's not obvious
This commit is contained in:
parent
83e32dfec7
commit
70048fc380
@ -450,7 +450,7 @@ void GenerateDeSerialization()
|
||||
{
|
||||
Weaver.DLog(m_td, " GenerateDeSerialization");
|
||||
|
||||
foreach (var m in m_td.Methods)
|
||||
foreach (MethodDefinition m in m_td.Methods)
|
||||
{
|
||||
if (m.Name == "OnDeserialize")
|
||||
return;
|
||||
@ -487,7 +487,7 @@ void GenerateDeSerialization()
|
||||
serWorker.Append(serWorker.Create(OpCodes.Brfalse, initialStateLabel));
|
||||
|
||||
int netIdFieldCounter = 0;
|
||||
foreach (var syncVar in m_SyncVars)
|
||||
foreach (FieldDefinition syncVar in m_SyncVars)
|
||||
{
|
||||
// assign value
|
||||
serWorker.Append(serWorker.Create(OpCodes.Ldarg_0));
|
||||
|
Loading…
Reference in New Issue
Block a user