From 083a52fe650ddcf2c3b00d65090a8589d3887bd8 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff <timfelgentreff@gmail.com> Date: Thu, 3 Mar 2022 22:50:14 +0100 Subject: [PATCH] AiChecksDependencies is now synced across network clients --- src/ai/ai_resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/ai_resource.cpp b/src/ai/ai_resource.cpp index 51801b6da..9e9eabac5 100644 --- a/src/ai/ai_resource.cpp +++ b/src/ai/ai_resource.cpp @@ -807,7 +807,7 @@ static bool AiUpgradeTo(const CUnitType &type, CUnitType &what) { std::vector<CUnit *> table; - if (GameSettings.AiChecksDependencies || IsNetworkGame()) { + if (GameSettings.AiChecksDependencies) { if (!CheckDependByType(*AiPlayer->Player, what)) { return false; }