summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/MeetingHud.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assembly-CSharp/MeetingHud.cs')
-rw-r--r--Client/Assembly-CSharp/MeetingHud.cs29
1 files changed, 15 insertions, 14 deletions
diff --git a/Client/Assembly-CSharp/MeetingHud.cs b/Client/Assembly-CSharp/MeetingHud.cs
index dbc22cb..891ce29 100644
--- a/Client/Assembly-CSharp/MeetingHud.cs
+++ b/Client/Assembly-CSharp/MeetingHud.cs
@@ -82,14 +82,6 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler
Proceeding
}
- private enum RpcCalls
- {
- Close,
- VotingComplete,
- CastVote,
- ClearVote
- }
-
private void Awake()
{
if (!MeetingHud.Instance)
@@ -654,9 +646,17 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler
result = 0;
}
return result;
- }
-
- public void RpcClose()
+ }
+
+ private enum RpcCalls
+ {
+ Close,
+ VotingComplete,
+ CastVote,
+ ClearVote
+ }
+
+ public void RpcClose()
{
if (AmongUsClient.Instance.AmClient)
{
@@ -676,9 +676,10 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler
messageWriter.Write(playerId);
messageWriter.Write(suspectIdx);
AmongUsClient.Instance.FinishRpcImmediately(messageWriter);
- }
-
- private void RpcVotingComplete(byte[] states, GameData.PlayerInfo exiled, bool tie)
+ }
+
+
+ private void RpcVotingComplete(byte[] states, GameData.PlayerInfo exiled, bool tie)
{
if (AmongUsClient.Instance.AmClient)
{