mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-10-19 15:51:59 +00:00
Fix some small issues
This commit is contained in:
1 parent
11fb96ccc2
commit
5afb0bcb20
4 files changed
+4
-13
No files matched your search
+1
-1
@@ -45,7 +45,7 @@ public partial class Main : BasePlugin
|
||||
|
||||
public static bool HasArgumentException;
|
||||
public static string CredentialsText;
|
||||
public const string ModVersion = "v2.2.1";
|
||||
public const string ModVersion = "v2.2.2";
|
||||
|
||||
public static float GameTimer;
|
||||
public static float AfkTimer;
|
||||
|
||||
@@ -15,15 +15,6 @@ internal class EACR
|
||||
MessageReader sr = MessageReader.Get(reader);
|
||||
var rpc = (RpcCalls)callId;
|
||||
|
||||
switch (rpc)
|
||||
{
|
||||
case RpcCalls.StartMeeting:
|
||||
{
|
||||
MeetingCheat(pc);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
switch (callId)
|
||||
{
|
||||
case 101: // Aum Chat
|
||||
|
||||
@@ -28,7 +28,7 @@ class NormalGameEndChecker
|
||||
public static string LastWinReason = "";
|
||||
public static List<PlayerControl> imps = new List<PlayerControl>();
|
||||
public static string firstDeath;
|
||||
public static string firstDeathString => firstDeath != "" ? $"\n\nFirst death: {firstDeath}" : "";
|
||||
public static string firstDeathString => firstDeath != "" ? $"\n\n1st death: {firstDeath}" : "";
|
||||
|
||||
public static bool Prefix()
|
||||
{
|
||||
@@ -50,7 +50,7 @@ class NormalGameEndChecker
|
||||
public static string customRoles { get; set; }
|
||||
public static void CheckWinnerText(string Winner)
|
||||
{
|
||||
string impostorList = string.Join("\n", imps.Select(p => $"{p.Data.PlayerName} {p.Data.ColorName} - {p.Data.RoleType}"));
|
||||
string impostorList = string.Join("\n", imps.Select(p => $"{p.Data.PlayerName} {p.Data.ColorName}"));
|
||||
string impostorString = impostorList != "" ? $"\n\n{impostorList}" : "";
|
||||
|
||||
if (!canUpdateWinnerText) return;
|
||||
|
||||
Reference in new issue
Block a user