diff --git a/src/Constants.ts b/src/Constants.ts index 95b2812ec..5f5a3c47d 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -244,6 +244,9 @@ export const CONSTANTS: IMap = { Export * Exporting now gives +1 favor to all joined factions every 24h. + Corp + * Self-fund with an invalid name no longer takes away 150b anyway. + Misc. * ls now correctly lists all files. * importing auto save+reloads (@Dawe) @@ -253,5 +256,6 @@ export const CONSTANTS: IMap = { confirmation dialog. * Fix some ram not displayed as 0.00GB * Fix error message throw undefined variable error + * City hall now has some generic text if you can't create a corp yet. `, } \ No newline at end of file diff --git a/src/Locations/LocationsHelpers.tsx b/src/Locations/LocationsHelpers.tsx index 217a8d0f0..9204bef2c 100644 --- a/src/Locations/LocationsHelpers.tsx +++ b/src/Locations/LocationsHelpers.tsx @@ -140,7 +140,6 @@ export function createStartCorporationPopup(p: IPlayer): void { dialogBoxCreate("You don't have enough money to create a corporation! You need $150b"); return false; } - p.loseMoney(150e9); const companyName = nameInput.value; if (companyName == null || companyName == "") { @@ -149,6 +148,7 @@ export function createStartCorporationPopup(p: IPlayer): void { } p.startCorporation(companyName); + p.loseMoney(150e9); const worldHeader = document.getElementById("world-menu-header"); if (worldHeader instanceof HTMLElement) {