#6571 closed defect (fixed)

Phasing up with cheat code for Athens

Reported by: Langbart Owned by: Freagarach
Priority: Should Have Milestone: Alpha 26
Component: Simulation Keywords:
Cc: Patch: Phab:D4694

Description

to reproduce

  • Start a game with Athen (other civs are fine)
  • enter gift from the gods or back to the future
  • Note that the phase symbol is not changing in the Civic Centre.

bisecting guessing

I assume it is this one [26298]

reproducible

The issue is not reproducible in A25b [25860]

possible solution

  • binaries/data/mods/public/simulation/helpers/Cheat.js

    a b function Cheat(input)  
    117117        else
    118118            return;
    119119
    120         if (TechnologyTemplates.Has(parameter + "_" + cmpPlayer.civ))
    121             parameter += "_" + cmpPlayer.civ;
     120        const civMe = Engine.QueryInterface(playerEnt, IID_Identity).GetCiv();
     121        if (TechnologyTemplates.Has(parameter + "_" + civMe))
     122               parameter += "_" + civMe;
    122123        else
    123124            parameter += "_generic";
    124125

Change History (2)

comment:1 by Freagarach, 23 months ago

Owner: set to Freagarach
Patch: Phab:D4694

comment:2 by Freagarach, 23 months ago

Resolution: fixed
Status: newclosed

In 26957:

Fix phasing by cheat with Athens.

Reported by @Langbart
Differential revision: https://code.wildfiregames.com/D4694
Reviewed by: @Langbart
Fixes #6571

Note: See TracTickets for help on using tickets.