Skip to content

Commit 35d14b8

Browse files
committed
some fixes
1 parent 33aa208 commit 35d14b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ShootingRange/API/SpectatorRange.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
using Exiled.CustomItems.API.Features;
1313

1414
using Object = UnityEngine.Object;
15+
using Exiled.API.Extensions;
1516

1617
namespace ShootingRange.API
1718
{
1819
public class SpectatorRange
1920
{
2021
private Vector3 _smallBound = new(-173.7f, 1003.4f, -45);
21-
private Vector3 _bigBound = new(-143.7f, 1006.8f, -37.9f);
22+
private Vector3 _bigBound = new(-143.7f, 1016.8f, -37.9f);
2223
public Vector3 Spawn { get; } = new(-161.1f, 1004.9f, -42.1f);
2324
public bool IsOpen => Round.IsStarted && Respawn.TimeUntilRespawn > 20;
2425

@@ -70,6 +71,7 @@ public bool TryAdmit(Player player)
7071
player.Position = Spawn;
7172
player.Health = 100000;
7273
player.Broadcast(PluginMain.Singleton.Config.RangeGreeting);
74+
player.ChangeAppearance(RoleType.ChaosConscript);
7375
});
7476
return true;
7577
}
@@ -101,7 +103,7 @@ public void SpawnTargets()
101103
}
102104
public void SpawnPrimitives()
103105
{
104-
const float thick = 0.1f;
106+
const float thick = 0.3f;
105107
const float frontHeight = 1.9f;
106108
Color color = Color.clear;
107109
Vector3 dif = _bigBound - _smallBound;

0 commit comments

Comments
 (0)