Skip to content

Commit

Permalink
fix(items): item undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Dec 23, 2016
1 parent dd8a6a1 commit aa44bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/build/items/items.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export class ItemsComponent implements OnInit {
return;
}
let goldOffset = 0;
let itemGold = (item.gold.total * item.bundle);
for (let item of items) {
let itemGold = (item.gold.total * item.bundle);
item.time = this.getTime(
this.samples.gold, goldOffset + itemGold, settings.gameTime,
settings.matchServer.sampleSize);
Expand Down

0 comments on commit aa44bdf

Please sign in to comment.