mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix
This commit is contained in:
1 parent
1e8a7290b3
commit
561fc62826
1 file changed
+1
-1
@@ -30,7 +30,7 @@ internal sealed class SetLevelHandler : RPCHandler
|
||||
{
|
||||
uint level = reader.ReadPackedUInt32();
|
||||
|
||||
if (level + 1 > BetterGameSettings.DetectedLevelAbove.GetInt())
|
||||
if (level > BetterGameSettings.DetectedLevelAbove.GetInt())
|
||||
{
|
||||
BetterNotificationManager.NotifyCheat(sender, string.Format(Translator.GetString("AntiCheat.InvalidLevelRPC"), level));
|
||||
LogRpcInfo($"{level > BetterGameSettings.DetectedLevelAbove.GetInt()} - {level} > {BetterGameSettings.DetectedLevelAbove.GetInt()}");
|
||||
|
||||
Reference in new issue
Block a user