mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Don't focus on spies for non-following observers
Missing since introduction in e14ad3c771.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user