From c2f1fa81af19641bb825c782b835f2e4fa4d2502 Mon Sep 17 00:00:00 2001 From: willyb321 Date: Sun, 17 Dec 2017 18:48:24 +1100 Subject: [PATCH] remove console logs --- src/app/utils/CompanionApiUtils.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/app/utils/CompanionApiUtils.js b/src/app/utils/CompanionApiUtils.js index 92475760..930c9f7a 100644 --- a/src/app/utils/CompanionApiUtils.js +++ b/src/app/utils/CompanionApiUtils.js @@ -123,7 +123,6 @@ export function shipModelFromJson(json) { */ export function shipFromJson(json) { // Start off building a basic ship - console.log(json); const shipModel = shipModelFromJson(json); if (!shipModel) { throw 'No such ship found: "' + json.name + '"'; @@ -303,8 +302,6 @@ export function shipFromJson(json) { * @param {Object} specialModifications special modification */ function _addModifications(module, modifiers, blueprint, grade, specialModifications) { - console.log(module); - console.log(modifiers); if (!modifiers) return; let special; @@ -339,10 +336,8 @@ function _addModifications(module, modifiers, blueprint, grade, specialModificat } else if (i === 'OutfittingFieldType_DefenceModifierHealthMultiplier' && blueprint === 'Armour_Thermic') { //TODO: fix the hull strength. not sure whats wrong with it. value = (modifiers[i].value - module.hullboost) / module.hullboost; - console.log(value); } else if (i === 'OutfittingFieldType_DefenceModifierHealthMultiplier') { value = modifiers[i].value / module.hullboost; - console.log(value); } else { value = modifiers[i].value - 1; }