Fix some small issues

This commit is contained in:
Ape committed 2026-10-10 10:26:16 +02:00
1 parent 11fb96ccc2
commit 5afb0bcb20
4 files changed
+4 -13

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ public partial class Main : BasePlugin
public static bool HasArgumentException; public static bool HasArgumentException;
public static string CredentialsText; 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 GameTimer;
public static float AfkTimer; public static float AfkTimer;
-9
View File
@@ -15,15 +15,6 @@ internal class EACR
MessageReader sr = MessageReader.Get(reader); MessageReader sr = MessageReader.Get(reader);
var rpc = (RpcCalls)callId; var rpc = (RpcCalls)callId;
switch (rpc)
{
case RpcCalls.StartMeeting:
{
MeetingCheat(pc);
return true;
}
}
switch (callId) switch (callId)
{ {
case 101: // Aum Chat case 101: // Aum Chat
+2 -2
View File
@@ -28,7 +28,7 @@ class NormalGameEndChecker
public static string LastWinReason = ""; public static string LastWinReason = "";
public static List<PlayerControl> imps = new List<PlayerControl>(); public static List<PlayerControl> imps = new List<PlayerControl>();
public static string firstDeath; 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() public static bool Prefix()
{ {
@@ -50,7 +50,7 @@ class NormalGameEndChecker
public static string customRoles { get; set; } public static string customRoles { get; set; }
public static void CheckWinnerText(string Winner) 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}" : ""; string impostorString = impostorList != "" ? $"\n\n{impostorList}" : "";
if (!canUpdateWinnerText) return; if (!canUpdateWinnerText) return;
+1 -1
View File
@@ -36,7 +36,7 @@
<img src="https://github.com/astra1dev/AUnlocker/assets/90265231/14226f03-a003-4efc-b27b-6df53fb394d6" width=410 height=240>**** <img src="https://github.com/astra1dev/AUnlocker/assets/90265231/14226f03-a003-4efc-b27b-6df53fb394d6" width=410 height=240>****
‎ ‎
# 🎮 Features (v2.2.0): # 🎮 Features (v2.2.2):
## <b>♠️ Client Side settings:</b> ## <b>♠️ Client Side settings:</b>
- Toggle Game Master (Spectator) - Toggle Game Master (Spectator)