mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
fix selfFund was reversed
This commit is contained in:
parent
9c579e294a
commit
b224321222
@ -976,7 +976,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
(ctx: NetscriptContext) =>
|
||||
(_corporationName: unknown, _selfFund: unknown = true): boolean => {
|
||||
const corporationName = helpers.string(ctx, "corporationName", _corporationName);
|
||||
const selfFund = !_selfFund;
|
||||
const selfFund = !!_selfFund;
|
||||
return createCorporation(corporationName, selfFund);
|
||||
},
|
||||
hasUnlockUpgrade:
|
||||
|
Loading…
Reference in New Issue
Block a user