mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Don't focus on spies for non-following observers
Missing since introduction in e14ad3c771.
This commit is contained in:
parent
015aa0349b
commit
88df5ec95f
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ var g_NotificationsTypes =
|
|||
{
|
||||
g_DiplomacyDialog.onSpyResponse(notification, player);
|
||||
|
||||
if (notification.entity && g_ViewedPlayer == player)
|
||||
if (notification.entity && g_ViewedPlayer == player && (!g_IsObserver || g_FollowPlayer))
|
||||
{
|
||||
g_DiplomacyDialog.close();
|
||||
setCameraFollow(notification.entity);
|
||||
|
|
|
|||
Loading…
Reference in a new issue