mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Use size
This commit is contained in:
parent
c033a578fa
commit
d5ab01cbd1
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@ export class MigrationHandlerBase {
|
|||
// todo: handle more than just migrating effects. Right now this can only migrate effects
|
||||
// NOTE: the preload is hardcoded, we should not hardcode it
|
||||
|
||||
const numActors = game.actors.length;
|
||||
const numItems = game.items.length;
|
||||
const numActors = game.actors.size;
|
||||
const numItems = game.items.size;
|
||||
const finalUpdateProgress = 5;
|
||||
const DhProgress = game.system.api.applications.ui.DhProgress;
|
||||
const preRunProgress = game.packs.size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue