Update Bladeburner.tsx

add string case conversion to allow capitalised action types in automate command.
This commit is contained in:
Vic1970 2022-05-12 11:01:26 +10:00
parent f5f5879fc3
commit 636d081abc

@ -697,7 +697,7 @@ export class Bladeburner implements IBladeburner {
// Set variables
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];
let highLow = false; // True for high, false for low