Update code for Foundry 0.8.5

This commit is contained in:
Manuel Vögele
2021-05-22 21:57:59 +02:00
parent d11d6385e2
commit 7ba89e4229
7 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export class DragRulerRuler extends Ruler {
toJSON() {
const json = super.toJSON();
if (this.draggedEntity)
json["draggedEntity"] = this.draggedEntity.data._id;
json["draggedEntity"] = this.draggedEntity.id;
return json;
}