Hotfix examine (#29408)

#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.
This commit is contained in:
Pieter-Jan Briers
2024-06-24 18:02:43 +02:00
committed by GitHub
parent f068687306
commit 3df7309dbf

View File

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