]> git.deb.at Git - rhonda/impostor.git/commitdiff
Lowercase rpc
authorAeonLucid <aeonlucid@gmail.com>
Mon, 19 Dec 2022 15:01:24 +0000 (16:01 +0100)
committerAeonLucid <aeonlucid@gmail.com>
Mon, 19 Dec 2022 15:01:24 +0000 (16:01 +0100)
src/Impostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs
src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs

index ef4464e38e8c91d254e219b33172f3736d036151..3cc95147e10888edba8cba0509060eead33dbcf1 100644 (file)
@@ -55,7 +55,7 @@ internal abstract class InnerGameManager : InnerNetObject, IInnerGameManager
     {
         foreach (var logicComponent in _logicComponents)
         {
-            logicComponent.HandleRPC(call, reader);
+            logicComponent.HandleRpc(call, reader);
         }
 
         return ValueTask.FromResult(true);
index c2e0d33a5c7b79b70695572dfddb2b818a25cdf0..3952c35b771fba0bad2701be684346ca55d47384 100644 (file)
@@ -5,7 +5,7 @@ namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic;
 
 internal abstract class GameLogicComponent
 {
-    public virtual void HandleRPC(RpcCalls callId, IMessageReader reader)
+    public virtual void HandleRpc(RpcCalls callId, IMessageReader reader)
     {
         throw new NotImplementedException($"Unhandled RpcCall {callId}");
     }