mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Can no longer export negative amount
This commit is contained in:
parent
6df824613e
commit
b9c292f7cf
@ -246,6 +246,7 @@ export const CONSTANTS: IMap<any> = {
|
||||
|
||||
Corp
|
||||
* Self-fund with an invalid name no longer takes away 150b anyway.
|
||||
* Can no longer export negative amount
|
||||
|
||||
Misc.
|
||||
* ls now correctly lists all files.
|
||||
|
@ -320,7 +320,7 @@ export class CorporationEventHandler {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (temp == null || isNaN(temp)) {
|
||||
if (temp == null || isNaN(temp) || temp < 0) {
|
||||
dialogBoxCreate("Invalid amount entered for export");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user