This commit is contained in:
Gurge44 committed 2025-07-07 14:51:22 +02:00
1 parent 34b1070aa9
commit 5ebc01a926
3 files changed
+5 -3

No files matched your search

+2
View File
@@ -892,6 +892,8 @@ internal static class CustomRolesHelper
public static bool NeedsUpdateAfterDeath(this CustomRoles role)
{
return role is
CustomRoles.KOTZPlayer or
CustomRoles.CTFPlayer or
CustomRoles.KB_Normal or
CustomRoles.BedWarsPlayer or
CustomRoles.Weatherman or
+1 -1
View File
@@ -267,7 +267,7 @@ internal static class ExtendedPlayerControl
Main.PlayerStates[pc.PlayerId].SetDead();
CustomRpcSender.Create("Temporary Death", SendOption.Reliable)
.AutoStartRpc(pc.NetId, 4)
.AutoStartRpc(pc.NetId, RpcCalls.Exiled)
.EndRpc()
.SendMessage();
@@ -176,7 +176,6 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
case CustomGameMode.RoomRush:
case CustomGameMode.Speedrun:
case CustomGameMode.HotPotato:
case CustomGameMode.KingOfTheZones:
SetMaxVision();
break;
case CustomGameMode.BedWars:
@@ -208,11 +207,12 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
catch (Exception e) { Utils.ThrowException(e); }
goto case CustomGameMode.RoomRush;
case CustomGameMode.KingOfTheZones:
case CustomGameMode.SoloKombat:
try { AURoleOptions.GuardianAngelCooldown = 900f; }
catch (Exception e) { Utils.ThrowException(e); }
break;
goto case CustomGameMode.RoomRush;
}
switch (player.GetCustomRoleTypes())