Fix detailed examine mispredicts (#33814)

So:
- Shared examine like armour, adds the button incorrectly and mispredicts it.
- Server-only like damage, doesn't add it (correct) and no mispredict.

We'll just prune any verbs if the server sends them in unless the verb is client-only and it should fix it unless there's client-side code not flagging it as clientexclusive.
This commit is contained in:
metalgearsloth
2025-04-20 00:37:45 +10:00
committed by GitHub
parent 63eb99d57c
commit 39aefa0441
2 changed files with 29 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ namespace Content.Shared.Examine
}
message.AddMessage(GetFormattedMessageFromExamineEntries(group.Entries));
SendExamineTooltip(user, target, message, false, false);
SendExamineTooltip(user, target, message, getVerbs: false, centerAtCursor: false);
}
/// <returns>A FormattedMessage based on all <paramref name="entries"/>, sorted.</returns>