From af50160ef5c9a55506157d7d94e20c17cd28ed42 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 15:08:37 +0800 Subject: =?UTF-8?q?*=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/GameData.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Client/Assembly-CSharp/GameData.cs') diff --git a/Client/Assembly-CSharp/GameData.cs b/Client/Assembly-CSharp/GameData.cs index e81e28e..5069a13 100644 --- a/Client/Assembly-CSharp/GameData.cs +++ b/Client/Assembly-CSharp/GameData.cs @@ -163,10 +163,6 @@ public class GameData : InnerNetObject, IDisconnectHandler } } - private enum RpcCalls - { - SetTasks - } public void Awake() { @@ -534,9 +530,14 @@ public class GameData : InnerNetObject, IDisconnectHandler } } this.RecomputeTaskCounts(); - } - - public void RpcSetTasks(byte playerId, byte[] taskTypeIds) + } + + private enum RpcCalls + { + SetTasks + } + + public void RpcSetTasks(byte playerId, byte[] taskTypeIds) { if (AmongUsClient.Instance.AmClient) { -- cgit v1.1-26-g67d0