Skip to content

Commit dcfa288

Browse files
committed
Fixed compile issue
1 parent c9cc920 commit dcfa288

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

MLAPI/NetworkingManagerComponents/Core/InternalMessageHandler.Receive.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,37 +367,37 @@ internal static void HandleNetworkedVarDelta(uint clientId, BitReader reader, in
367367
uint netId = reader.ReadUInt();
368368
ushort orderIndex = reader.ReadUShort();
369369

370-
if (!SpawnManager.spawnedObjects.ContainsKey(netId))
370+
if (!SpawnManager.SpawnedObjects.ContainsKey(netId))
371371
{
372372
if (LogHelper.CurrentLogLevel <= LogLevel.Normal) LogHelper.LogWarning("NetworkedVar message recieved for a non existant object with id: " + netId);
373373
return;
374374
}
375-
else if (SpawnManager.spawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex) == null)
375+
else if (SpawnManager.SpawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex) == null)
376376
{
377377
if (LogHelper.CurrentLogLevel <= LogLevel.Normal) LogHelper.LogWarning("NetworkedVar message recieved for a non existant behaviour");
378378
return;
379379
}
380380

381-
SpawnManager.spawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex).HandleNetworkedVarDeltas(reader, clientId);
381+
SpawnManager.SpawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex).HandleNetworkedVarDeltas(reader, clientId);
382382
}
383383

384384
internal static void HandleNetworkedVarUpdate(uint clientId, BitReader reader, int channelId)
385385
{
386386
uint netId = reader.ReadUInt();
387387
ushort orderIndex = reader.ReadUShort();
388388

389-
if (!SpawnManager.spawnedObjects.ContainsKey(netId))
389+
if (!SpawnManager.SpawnedObjects.ContainsKey(netId))
390390
{
391391
if (LogHelper.CurrentLogLevel <= LogLevel.Normal) LogHelper.LogWarning("NetworkedVar message recieved for a non existant object with id: " + netId);
392392
return;
393393
}
394-
else if (SpawnManager.spawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex) == null)
394+
else if (SpawnManager.SpawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex) == null)
395395
{
396396
if (LogHelper.CurrentLogLevel <= LogLevel.Normal) LogHelper.LogWarning("NetworkedVar message recieved for a non existant behaviour");
397397
return;
398398
}
399399

400-
SpawnManager.spawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex).HandleNetworkedVarUpdate(reader, clientId);
400+
SpawnManager.SpawnedObjects[netId].GetBehaviourAtOrderIndex(orderIndex).HandleNetworkedVarUpdate(reader, clientId);
401401
}
402402
}
403403
}

0 commit comments

Comments
 (0)