Add length
This commit is contained in:
parent
991b564f16
commit
7cc413103c
@ -163,7 +163,7 @@ const loop = (timestamp) => {
|
||||
orb.render(timestamp);
|
||||
});
|
||||
state.orbs = state.orbs.filter((orb) => !orb.removed);
|
||||
state.total = state.orbs
|
||||
state.total = state.orbs.length;
|
||||
ctx.restore();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user