mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
34b1070aa9
commit
5ebc01a926
3 files changed
+5
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user