Merge branch 'develop'

This commit is contained in:
willyb321
2018-06-15 10:58:19 +10:00
2 changed files with 3 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ export function calcSpeed(mass, baseSpeed, thrusters, engpip, eng, boostFactor,
* Calculate pitch for a given setup
* @param {number} mass the mass of the ship
* @param {number} basePitch the base pitch of the ship
* @param {ojbect} thrusters the thrusters of the ship
* @param {object} thrusters the thrusters of the ship
* @param {number} engpip the multiplier per pip to engines
* @param {number} eng the pips to engines
* @param {number} boostFactor the boost factor for ths ship
@@ -455,7 +455,7 @@ export function shieldMetrics(ship, sys) {
/**
* Calculate time from one boost to another
* @return {number} Boost frequency in seconds
* @param ship
* @param {Ship} ship Ship object
*/
export function calcBoost(ship) {
if (!ship.boostEnergy || !ship.standard[4] || !ship.standard[4].m) {

View File

@@ -86,7 +86,7 @@ function shortenUrlOrbis(url, success, error) {
}
});
} catch (e) {
console.log(e)
console.log(e);
error(e.message ? e.message : e);
}
} else {