progress on getting ios version working well.
This commit is contained in:
@@ -388,13 +388,18 @@
|
||||
|
||||
(defn make-music [r]
|
||||
(try
|
||||
(doto (music r) (music! :set-looping true))
|
||||
(if mobile?
|
||||
(doto (music (str r ".mp3")) (music! :set-looping true))
|
||||
(doto (music r) (music! :set-looping true)))
|
||||
|
||||
(catch Exception _
|
||||
(doto (music (str r ".mp3")) (music! :set-looping true)))))
|
||||
|
||||
(defn load-sound [f]
|
||||
(try
|
||||
(sound f)
|
||||
(if mobile?
|
||||
(sound (str f ".mp3"))
|
||||
(sound f))
|
||||
(catch Exception e
|
||||
(log/info e)
|
||||
(sound (str f ".mp3")))))
|
||||
|
||||
Reference in New Issue
Block a user