Consistency changes

This commit is contained in:
Cooldude2606 committed 2024-05-22 17:19:05 +01:00
1 parent 609db31027
commit af50cfd47a
3 files changed
+23 -17

No files matched your search

+3 -7
View File
@@ -288,13 +288,9 @@ export default class HostConnection extends BaseConnection {
}
}
// Hosts eagerly send updates, which means we may get an update
// where nothing actualy changed.
if (updates.length) {
this._controller.saves.setMany(updates);
}
if (deletes.length) {
this._controller.saves.deleteMany(deletes);
}
// where nothing actually changed.
this._controller.saves.setMany(updates);
this._controller.saves.deleteMany(deletes);
}
async handleLogMessageEvent(event: lib.LogMessageEvent) {