* Bump dev to 2.031.6 * Added prettier (#661) * Added prettier * Added prettier * Added prettier
18 lines
564 B
JavaScript
18 lines
564 B
JavaScript
import UpdateBuildings from '../BuildingsUpgrades/Buildings';
|
|
import UpdateUpgrades from '../BuildingsUpgrades/Upgrades';
|
|
import { UpdateBotBar } from '../InfoBars/BottomBar';
|
|
|
|
/**
|
|
* This function refreshes all numbers after a change in scale-setting
|
|
* It is therefore called by a changes in CM.Options.Scale, CM.Options.ScaleDecimals, CM.Options.ScaleSeparator and CM.Options.ScaleCutoff
|
|
*/
|
|
export default function RefreshScale() {
|
|
BeautifyAll();
|
|
Game.RefreshStore();
|
|
Game.RebuildUpgrades();
|
|
|
|
UpdateBotBar();
|
|
UpdateBuildings();
|
|
UpdateUpgrades();
|
|
}
|