]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make timer ignore client predict setting (#26554)
authorWrexbe (Josh) <81056464+wrexbe@users.noreply.github.com>
Sun, 31 Mar 2024 01:26:41 +0000 (18:26 -0700)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 01:26:41 +0000 (12:26 +1100)
* Make timer ignore client predict setting

* making tests run

---------

Co-authored-by: wrexbe <wrexbe@protonmail.com>
Content.Client/TextScreen/TextScreenSystem.cs

index a736933d0fae2edb5eb3241a7766225eac2c72f0..b4d67f5f218ea5f67a2a91a07a39352b2f460481 100644 (file)
@@ -62,6 +62,8 @@ public sealed class TextScreenSystem : VisualizerSystem<TextScreenVisualsCompone
 
         SubscribeLocalEvent<TextScreenVisualsComponent, ComponentInit>(OnInit);
         SubscribeLocalEvent<TextScreenTimerComponent, ComponentInit>(OnTimerInit);
+
+        UpdatesOutsidePrediction = true;
     }
 
     private void OnInit(EntityUid uid, TextScreenVisualsComponent component, ComponentInit args)