From: FluffMe Date: Wed, 2 Oct 2024 12:00:31 +0000 (+0200) Subject: Fix accidental erase of paper contents by spamming save action (#32598) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8961dd35a581270f22e4431a6d665002e0d9d30d;p=space-station-14.git Fix accidental erase of paper contents by spamming save action (#32598) Fix spammable paper save issue --- diff --git a/Content.Client/Paper/UI/PaperWindow.xaml.cs b/Content.Client/Paper/UI/PaperWindow.xaml.cs index 02c4ed64c3..3522aabc66 100644 --- a/Content.Client/Paper/UI/PaperWindow.xaml.cs +++ b/Content.Client/Paper/UI/PaperWindow.xaml.cs @@ -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)); }