Fix accidental erase of paper contents by spamming save action (#32598)
Fix spammable paper save issue
This commit is contained in:
@@ -319,6 +319,8 @@ namespace Content.Client.Paper.UI
|
|||||||
|
|
||||||
private void RunOnSaved()
|
private void RunOnSaved()
|
||||||
{
|
{
|
||||||
|
// Prevent further saving while text processing still in
|
||||||
|
SaveButton.Disabled = true;
|
||||||
OnSaved?.Invoke(Rope.Collapse(Input.TextRope));
|
OnSaved?.Invoke(Rope.Collapse(Input.TextRope));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user