From 09796350c817d4e6e08808bf4fb5ec2d2e7c33c9 Mon Sep 17 00:00:00 2001 From: leper Date: Mon, 16 Mar 2015 18:50:51 +0000 Subject: [PATCH] Fix changephase cheat broken in af8a6f5e8c. This was SVN commit r16443. --- binaries/data/mods/public/simulation/helpers/Cheat.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binaries/data/mods/public/simulation/helpers/Cheat.js b/binaries/data/mods/public/simulation/helpers/Cheat.js index b77701fd06..0619ae2d88 100644 --- a/binaries/data/mods/public/simulation/helpers/Cheat.js +++ b/binaries/data/mods/public/simulation/helpers/Cheat.js @@ -95,7 +95,10 @@ function Cheat(input) special = {"athen":"athen"}; } else if (!cmpTechnologyManager.IsTechnologyResearched("phase_city")) + { phaseToGo = "city"; + special = {"athen":"athen"}; + } else return;