This should fix the screen flashes that occur every time a building/upgrade is purchased. Whenever CM simulates a buy, the CC buyfunction() calls Game.seasonPopup.reset(). This reset causes CM screen flash logic to execute. So I've disabled the reset() function during CM simulateBuy().
I also changed a variable name from 'storeToRebuild' to 'storeToRefresh' to match the variable name change in CC code.
This should fix the screen flashes that occur every time a building/upgrade is purchased. Whenever CM simulates a buy, the CC buyfunction() calls Game.seasonPopup.reset(). This reset causes CM screen flash logic to execute. So I've disabled the reset() function during CM simulateBuy().
I also changed a variable name from 'storeToRebuild' to 'storeToRefresh' to match the variable name change in CC code.