Skip to content

Commit

Permalink
fix: formatting on message when a code lock is placed
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Feb 22, 2021
1 parent a5066d7 commit 659e0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ void OnEntitySpawned(CodeLock codeLock)
codeLock.hasGuestCode ? "CodeAutoLockedWithGuest" : "CodeAutoLocked",
this,
player.UserIDString),
Utils.ShouldHideCode(player, settings) ? HiddenCode : codeLock.code,
Utils.ShouldHideCode(player, settings) ? HiddenCode : codeLock.guestCode
Formatter.Value(Utils.ShouldHideCode(player, settings) ? HiddenCode : codeLock.code),
Formatter.Value(Utils.ShouldHideCode(player, settings) ? HiddenCode : codeLock.guestCode)
)
);
}
Expand Down

0 comments on commit 659e0bf

Please sign in to comment.