From 47f0b1040e520b6e67f667ff54021463c4069d6e Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 1 Jul 2024 21:45:38 -0500 Subject: [PATCH] fix: async --- app/ecs/ecs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ecs/ecs.js b/app/ecs/ecs.js index 7725eec..c9df686 100644 --- a/app/ecs/ecs.js +++ b/app/ecs/ecs.js @@ -61,7 +61,7 @@ export default class Ecs { } } this.destroyMany(destroying); - this.insertMany(updating); + await this.insertMany(updating); this.removeMany(removing); await this.createManySpecific(creating); }