diff --git a/desktop/src-common/advent/actions.clj b/desktop/src-common/advent/actions.clj index 6cb57c79..1aa03513 100644 --- a/desktop/src-common/advent/actions.clj +++ b/desktop/src-common/advent/actions.clj @@ -258,9 +258,7 @@ (.getRegionHeight (get-in entities [:room :entities target-id :object]))) scaled (get-in entities [:room :entities target-id :scaled]) scale-fn (get-in entities [:room :scale-fn]) - scale (if scaled - (scale-fn [target-x target-y]) - 1) + scale (get-in entities [:room :entities target-id :scale-y] 1) height (* scale height)] (screen! dialogue/talking-screen :on-talk :text text :x target-x :y (+ (get-in entities [:room :entities target-id :y]) height)