Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

Commit 411d4a9

Browse files
committed
literally 1984
1 parent cd1564a commit 411d4a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BetterDoggie/EventHandlers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public static void OnInteractingDoor(InteractingDoorEventArgs ev)
5959
return;
6060

6161
if ((ev.Player.Role != RoleType.Scp93953 && ev.Player.Role != RoleType.Scp93989)
62-
|| ev.Door.Base is IDamageableDoor door && door.IsDestroyed
63-
|| ev.Door.Base is PryableDoor gate && gate.IsConsideredOpen())
62+
|| (ev.Door.Base is IDamageableDoor door && door.IsDestroyed)
63+
|| (ev.Door.Base is PryableDoor gate && gate.IsConsideredOpen()))
6464
return;
6565

6666
if (ev.Player.ArtificialHealth <= BetterDoggie.Singleton.Config.DoorBustAhp)

0 commit comments

Comments
 (0)