Update code for Foundry 0.8.5
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user