Skip to content

Commit

Permalink
Forgot to add most of the changes in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmor committed May 25, 2019
1 parent f98af68 commit e142c29
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3,474 deletions.
4 changes: 3 additions & 1 deletion app/services/monsters.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
var monster = new monsterFactory.Monster(monsterData);

if ( byId[monster.id] ) {
console.warn("Duplicate ID", monster.id, monster.fid);
// We already have this monster from some other source, so just merge it
// with the existing entry
byId[monster.id].merge(monster)
return;
}

Expand Down
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
<script src="thirdparty/dirPagination/dirPagination.js"></script>
<script src="thirdparty/angular-local-storage/angular-local-storage.js"></script>

<script src="js/app-658bd5c77d.js"></script>
<script src="js/app-a04a87739c.js"></script>
</body>
</html>
Loading

0 comments on commit e142c29

Please sign in to comment.