mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Fix more bugs
This commit is contained in:
parent
de113a7b92
commit
6df824613e
@ -244,6 +244,9 @@ export const CONSTANTS: IMap<any> = {
|
||||
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<any> = {
|
||||
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.
|
||||
`,
|
||||
}
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user