sound volume!
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
(when (:shown? entities)
|
||||
(let [[x y] (utils/unproject screen)]
|
||||
(if-let [button (get-button [x y])]
|
||||
(do (sound! (:sound button) :play)
|
||||
(do (sound! (:sound button) :play (utils/current-sound-volume))
|
||||
(let [new-state (update-in entities [:button-choices] #(conj % (:id button)))]
|
||||
|
||||
(cond (= [4 2 1 5 3] (:button-choices new-state))
|
||||
|
||||
Reference in New Issue
Block a user