mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Update Bladeburner.tsx
add string case conversion to allow capitalised action types in automate command.
This commit is contained in:
parent
f5f5879fc3
commit
636d081abc
@ -697,7 +697,7 @@ export class Bladeburner implements IBladeburner {
|
|||||||
|
|
||||||
// Set variables
|
// Set variables
|
||||||
if (args.length === 4) {
|
if (args.length === 4) {
|
||||||
const variable = args[1];
|
const variable = args[1].toLowerCase(); // allows Action Type to be with or without capitalisation.
|
||||||
const val = args[2];
|
const val = args[2];
|
||||||
|
|
||||||
let highLow = false; // True for high, false for low
|
let highLow = false; // True for high, false for low
|
||||||
|
Loading…
Reference in New Issue
Block a user