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 GitHub
parent 9b4df5b452
commit 8961dd35a5

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));
}