Skip to content

Commit ffbeb0f

Browse files
committed
Removed unused GetType calls
1 parent ccb1b87 commit ffbeb0f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,6 @@ internal void SendClientRPCBoxed(ulong hash, List<uint> clientIds, params object
532532

533533
internal void SendServerRPCPerformance(ulong hash, BitWriter writer)
534534
{
535-
Type type = GetType(); //This is cached by CLR
536-
537535
if (!isClient)
538536
{
539537
//We are ONLY a server.
@@ -554,8 +552,6 @@ internal void SendServerRPCPerformance(ulong hash, BitWriter writer)
554552

555553
internal void SendClientRPCPerformance(ulong hash, List<uint> clientIds, BitWriter writer)
556554
{
557-
Type type = GetType(); //This is cached by CLR
558-
559555
if (!isServer)
560556
{
561557
//We are NOT a server.

0 commit comments

Comments
 (0)