Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions EXILED/Exiled.API/Features/Doors/Door.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,7 @@ public void ChangeLock(DoorLockType lockType)
else
{
DoorLockType locks = DoorLockType;
if (locks.HasFlag(lockType))
locks &= ~lockType;
else
locks |= lockType;

locks |= lockType;
Base.NetworkActiveLocks = (ushort)locks;
}

Expand Down