]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove blurry vision examine mispredict (#29633)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Mon, 1 Jul 2024 03:06:28 +0000 (23:06 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 03:06:28 +0000 (13:06 +1000)
remove blurry vision examine mispredict

Content.Client/Examine/ExamineSystem.cs

index 60d2b6a6ef658ac924dfadd90a3d82b3961287ac..a941f0acff97fd405c1d5c974afc59bc26be86d7 100644 (file)
@@ -1,5 +1,4 @@
 using Content.Client.Verbs;
-using Content.Shared.Eye.Blinding;
 using Content.Shared.Examine;
 using Content.Shared.IdentityManagement;
 using Content.Shared.Input;
@@ -16,8 +15,6 @@ using Robust.Shared.Utility;
 using System.Linq;
 using System.Numerics;
 using System.Threading;
-using Content.Shared.Eye.Blinding.Components;
-using Robust.Client;
 using static Content.Shared.Interaction.SharedInteractionSystem;
 using static Robust.Client.UserInterface.Controls.BoxContainer;
 using Content.Shared.Interaction.Events;
@@ -360,10 +357,7 @@ namespace Content.Client.Examine
 
             FormattedMessage message;
 
-            // Basically this just predicts that we can't make out the entity if we have poor vision.
-            var canSeeClearly = !HasComp<BlurryVisionComponent>(playerEnt);
-
-            OpenTooltip(playerEnt.Value, entity, centeredOnCursor, false, knowTarget: canSeeClearly);
+            OpenTooltip(playerEnt.Value, entity, centeredOnCursor, false);
 
             // Always update tooltip info from client first.
             // If we get it wrong, server will correct us later anyway.