v10 compat: Get rid of several deprecation warnings (fixes #237)

This commit is contained in:
Manuel Vögele
2022-10-14 11:16:46 +02:00
parent 4787ae5e12
commit 8a91c8843d
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -460,7 +460,7 @@ export function extendRuler() {
// If this is a pc and alwaysShowSpeedForPCs is enabled we show the color anyway
if (
!(
this.draggedEntity.actor.data.type === "character" &&
this.draggedEntity.actor.type === "character" &&
game.settings.get(settingsKey, "alwaysShowSpeedForPCs")
)
)