Fix accidental erase of paper contents by spamming save action (#32598)

Fix spammable paper save issue
This commit is contained in:
FluffMe 2024-10-02 14:00:31 +02:00 committed by deltanedas
parent e297f56c48
commit fc0704c4e6
1 changed files with 2 additions and 0 deletions

View File

@ -319,6 +319,8 @@ namespace Content.Client.Paper.UI
private void RunOnSaved()
{
// Prevent further saving while text processing still in
SaveButton.Disabled = true;
OnSaved?.Invoke(Rope.Collapse(Input.TextRope));
}