If no dragged entity is being transmitted, unset it (fixes #179)
This commit is contained in:
@@ -54,6 +54,9 @@ export function extendRuler() {
|
||||
else
|
||||
this.draggedEntity = canvas.templates.get(data.draggedEntity);
|
||||
}
|
||||
else {
|
||||
this.draggedEntity = undefined;
|
||||
}
|
||||
|
||||
super.update(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user