]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Hotfix examine (#29408)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Mon, 24 Jun 2024 16:02:43 +0000 (18:02 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 16:02:43 +0000 (18:02 +0200)
#55328 was failing tests and shouldn't have been merged, it broke examine.

The problem is that for some reason, client-side examine system doesn't call base Initialize. So my entity query change (that I did not test) broke.

By the way, this same "not calling base" meant that group examine system wasn't predicting properly when it totally could've. Incredible.

Content.Client/Examine/ExamineSystem.cs

index b476971a13aceb8c28cd239f42c817b9dc71c281..60d2b6a6ef658ac924dfadd90a3d82b3961287ac 100644 (file)
@@ -46,6 +46,8 @@ namespace Content.Client.Examine
 
         public override void Initialize()
         {
+            base.Initialize();
+
             UpdatesOutsidePrediction = true;
 
             SubscribeLocalEvent<GetVerbsEvent<ExamineVerb>>(AddExamineVerb);