mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-10-20 01:46:28 +00:00
1.8.1
This commit is contained in:
1 parent
8e013830b6
commit
f456eb63d5
9 files changed
+57
-21
No files matched your search
@@ -165,7 +165,7 @@ public static class AbilityManagement
|
||||
private static int PendingRoleMessages = 0;
|
||||
public static void SendRoleMessages()
|
||||
{
|
||||
if (!AmongUsClient.Instance.AmHost) return;
|
||||
if (!AmongUsClient.Instance.AmHost || Options.Gamemode.GetValue() > 1) return;
|
||||
|
||||
if (string.IsNullOrEmpty(RoleList()) || PlayerControl.LocalPlayer.Data.IsDead)
|
||||
{
|
||||
@@ -175,12 +175,12 @@ public static class AbilityManagement
|
||||
}
|
||||
|
||||
var players = PlayerControl.AllPlayerControls.ToArray().ToList();
|
||||
float delay = 4.4f;
|
||||
float delay = 6.6f;
|
||||
|
||||
PendingRoleMessages = 0;
|
||||
HandlingRoleMessages = true;
|
||||
|
||||
SendRoleList(DestroyableSingleton<HudManager>.Instance.Chat, AbilityManagement.RoleList(), false);
|
||||
SendRoleList(DestroyableSingleton<HudManager>.Instance.Chat, AbilityManagement.RoleList(), true);
|
||||
|
||||
foreach (var player in players)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ public static class Translator
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
Logger.Info($" Among Us Revamped {Main.ModVersion}", "Init");
|
||||
CheckLanguageFile(_currentLang);
|
||||
LoadLanguage(_currentLang);
|
||||
}
|
||||
|
||||
+2
-2
@@ -231,8 +231,8 @@ public static class Utils
|
||||
PlayerControlSetRolePatch.Seekers.Clear();
|
||||
PlayerControlSetRolePatch.Jesters.Clear();
|
||||
PlayerControlSetRolePatch.FirstAssign = true;
|
||||
CoShowIntroPatch.ScheduleExile = false;
|
||||
|
||||
OnGameStartPatch.ScheduleExile = false;
|
||||
CoShowIntroPatch.IntroInitiated = false;
|
||||
}
|
||||
|
||||
@@ -578,7 +578,7 @@ public static class Utils
|
||||
return null;
|
||||
}
|
||||
|
||||
Logger.Info($"Found {methodName}.MoveNext", "GetStateMachineMoveNext");
|
||||
// Logger.Info($"Found {methodName}.MoveNext", "GetStateMachineMoveNext");
|
||||
return moveNext;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user