Fix typo causing long range blueprint to not modify shot speed in some circumstances

This commit is contained in:
Cmdr McDonald
2017-06-06 11:45:59 +01:00
parent 77018cc1ad
commit d9ad93d3cd
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#2.3.6
* Update miner role to provide better defaults
* Fix issue where torpedo special effects were not showing
* Fix typo causing long range blueprint to not modify shot speed in some circumstances
#2.3.5
* Ensure that hidden blueprint effects are applied when a blueprint is selected

View File

@@ -693,7 +693,7 @@ export default class Module {
* @return {string} the shot speed for this module
*/
getShotSpeed() {
if (this.blueprint && (this.blueprint.name === 'Focused' || this.blueprintname === 'Long Range')) {
if (this.blueprint && (this.blueprint.name === 'Focused' || this.blueprint.name === 'Long range')) {
// If the modification is focused or long range then the shot speed
// uses the range modifier
const rangemod = this.getModValue('range') / 10000;