Skip to content

Commit

Permalink
Forgot to call the function for bag
Browse files Browse the repository at this point in the history
  • Loading branch information
Demorck committed Jul 14, 2023
1 parent d948637 commit 48b7c58
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions modules/interface/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ function bag() {
let tr = ""

let wrapper = document.getElementById("bag_log")


console.log(bag)
Object.entries(bag).forEach(([key, value]) => {
for (let j = 0; j < value.length; j++) {
if (value[j]["name"] != "None" && value[j]["name"] != "unknown") {
tr +=
'<tr><td><img class="sprite32" src="/interface/sprites/items/' +
'<tr><td class="text-center"><img class="sprite32" src="/interface/sprites/items/' +
value[j]["name"] +
'.png"></td><td class="text-center">' +
value[j]["name"] +
Expand Down Expand Up @@ -390,7 +391,12 @@ window.setInterval(function() {
stats();
}, 1000);

window.setInterval(function() {
bag();
}, 2500);

shiny_log();
encounter_log();
trainer();
encounter();
encounter();
bag();

0 comments on commit 48b7c58

Please sign in to comment.