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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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