Comparing version 0.0.70 to 0.0.71
@@ -64,3 +64,3 @@ 'use strict'; | ||
for (var i = 0; i < unit.amount; i += 1) { | ||
if (_this.name === 'defender' && unit.key === 'hobo' || _this.name === 'defender' && unit.key === 'spy') {} else { | ||
if (_this.name === 'defender' && unit.key === 'hobo' || unit.key === 'spy') {} else { | ||
_this.units.push(new _unit2.default(unit.key, i + 1, name, log)); | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "drugwars", | ||
"version": "0.0.70", | ||
"version": "0.0.71", | ||
"description": "A lightweight JavaScript library for DrugWars", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -38,3 +38,3 @@ import { orderBy } from 'lodash'; | ||
for (let i = 0; i < unit.amount; i += 1) { | ||
if (this.name === 'defender' && unit.key === 'hobo' || this.name === 'defender' && unit.key === 'spy' ) { | ||
if (this.name === 'defender' && unit.key === 'hobo' || unit.key === 'spy' ) { | ||
} | ||
@@ -41,0 +41,0 @@ else |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2371580