diff --git a/dist/engine.bundle.js b/dist/engine.bundle.js index 340575455..4cb3092c6 100644 --- a/dist/engine.bundle.js +++ b/dist/engine.bundle.js @@ -23583,14 +23583,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") { switch (convertedName) { case "training": action.type = ActionTypes["Training"]; + action.name = "Training"; break; case "recruitment": case "recruit": action.type = ActionTypes["Recruitment"]; + action.name = "Recruitment"; break; case "field analysis": case "fieldanalysis": action.type = ActionTypes["Field Analysis"]; + action.name = "Field Analysis"; break; default: return null; diff --git a/src/Bladeburner.js b/src/Bladeburner.js index ec50bafe9..2cc92823d 100644 --- a/src/Bladeburner.js +++ b/src/Bladeburner.js @@ -3259,14 +3259,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") { switch (convertedName) { case "training": action.type = ActionTypes["Training"]; + action.name = "Training"; break; case "recruitment": case "recruit": action.type = ActionTypes["Recruitment"]; + action.name = "Recruitment"; break; case "field analysis": case "fieldanalysis": action.type = ActionTypes["Field Analysis"]; + action.name = "Field Analysis"; break; default: return null;