Skip to content

Commit

Permalink
Buffer wipe behavior change
Browse files Browse the repository at this point in the history
  • Loading branch information
Reava committed Apr 3, 2024
1 parent 4ba0e8e commit b924383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Keypad.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ private void OK()
{
_grantEvent();
if (teleportOnGrant && (teleportDestination != null)) Networking.LocalPlayer.TeleportTo(teleportDestination.position, teleportDestination.rotation);
_buffer = "";
if (isOnAllow) _buffer = ""; // Clears buffer only if is on allow to avoid double press resetting the states on normal behavior
}
else
{
Expand Down

0 comments on commit b924383

Please sign in to comment.