From ba393d213b404836259eb98857ec490506242d9c Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sun, 16 Aug 2026 00:09:04 +0300
Subject: [PATCH 47/47] found_new_tech(): Correct EFT_HAVE_EMBASSiES disabling
 check

See RM #2120

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 server/techtools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/techtools.c b/server/techtools.c
index 18d6ce4578..c973405ea9 100644
--- a/server/techtools.c
+++ b/server/techtools.c
@@ -481,8 +481,8 @@ void found_new_tech(struct research *presearch, Tech_type_id tech_found,
 
     /* Send all player an updated info of the owner of the Marco Polo
      * Wonder if this wonder has become obsolete. */
-    if (0 < had_embassies[i]
-        && 0 <= get_player_bonus(aplayer, EFT_HAVE_EMBASSIES)) {
+    if (had_embassies[i] > 0
+        && get_player_bonus(aplayer, EFT_HAVE_EMBASSIES) <= 0) {
       send_player_all_c(aplayer, aplayer->connections);
       players_iterate(pother_player) {
         if (aplayer != pother_player) {
-- 
2.53.0

