mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix better host CheckProtect
This commit is contained in:
1 parent
5780dc1060
commit
5ddbf2292c
1 file changed
+1
-1
@@ -22,7 +22,7 @@ class BetterHostManager
|
||||
PlayerControl target = reader.ReadNetObject<PlayerControl>();
|
||||
if (target != null)
|
||||
{
|
||||
if (player.Data.Role is GuardianAngelRole && player.IsAlive() && !player.IsImpostorTeam())
|
||||
if (player.Data.RoleType == RoleTypes.GuardianAngel && player.IsAlive() && !player.IsImpostorTeam())
|
||||
{
|
||||
if (target.IsAlive())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user