mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
merge master
This commit is contained in:
commit
652428b164
7406
dist/engine.bundle.js
vendored
7406
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
491
dist/engineStyle.bundle.js
vendored
491
dist/engineStyle.bundle.js
vendored
File diff suppressed because one or more lines are too long
9741
dist/vendor.bundle.js
vendored
9741
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Bitburner - development</title>
|
||||
<title>Bitburner</title>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="dist/apple-touch-icon.png"/>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="dist/favicon-32x32.png"/>
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="dist/favicon-16x16.png"/>
|
||||
|
@ -4,9 +4,8 @@ function isNumber(str: string): boolean {
|
||||
if (typeof str != "string") {
|
||||
return false;
|
||||
} // Only process strings
|
||||
return !isNaN(parseFloat(str));
|
||||
return !isNaN(str as unknown as number) && !isNaN(parseFloat(str));
|
||||
}
|
||||
|
||||
export function ParseCommands(commands: string): string[] {
|
||||
// Sanitize input
|
||||
commands = commands.trim();
|
||||
|
Loading…
Reference in New Issue
Block a user