not all sounds shoud be subjeect to silence.

This commit is contained in:
Bryce Covert
2015-10-29 18:49:24 -07:00
parent 24d39ae78c
commit 78a4ddfce6
2 changed files with 4 additions and 3 deletions

View File

@@ -430,8 +430,7 @@
(defn scale-vol-from-fade [entities vol]
(* vol
(- 1.0 (get-in entities [:fade :opacity]))
(get-in entities [:volume :value])))
(- 1.0 (get-in entities [:fade :opacity]))))
(defn play-sound!
([screen entities snd volume-fn]