Fix tooltip descriptions for spectators.

This commit is contained in:
matjaeck
2018-07-28 14:25:36 +00:00
committed by abcdefg30
parent be2c41d51c
commit d33ac0c838
2 changed files with 14 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
foreach (var info in viewport.ActorTooltipExtra)
{
if (info.IsTooltipVisible(world.LocalPlayer))
if (info.IsTooltipVisible(world.RenderPlayer))
{
if (index != 0)
extraText += "\n";