]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix typingindicator doing a naughty (#37438)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 14 May 2025 14:18:10 +0000 (00:18 +1000)
committerGitHub <noreply@github.com>
Wed, 14 May 2025 14:18:10 +0000 (10:18 -0400)
How this wasn't caught before but raisepredictiveevent should never get raised when re-running states.

Content.Client/Chat/TypingIndicator/TypingIndicatorSystem.cs

index c126f08db1f8fa2e26506c63183544dfe692feaa..be29bb2d6d62fafb4613c4da92b06eb57b34c318 100644 (file)
@@ -63,6 +63,9 @@ public sealed class TypingIndicatorSystem : SharedTypingIndicatorSystem
     {
         base.Update(frameTime);
 
+        if (!_time.IsFirstTimePredicted)
+            return;
+
         // check if client didn't changed chat text box for a long time
         if (_isClientTyping)
         {