working on ios.
This commit is contained in:
@@ -225,7 +225,13 @@
|
||||
(try
|
||||
(doto (music r) (music! :set-looping true))
|
||||
(catch Exception _
|
||||
(doto (music (str/replace r #"\.ogg" ".mp3")) (music! :set-looping true)))))
|
||||
(doto (music (str r ".mp3")) (music! :set-looping true)))))
|
||||
|
||||
(defn load-sound [f]
|
||||
(try
|
||||
(sound (str f ".mp3"))
|
||||
(catch Exception _
|
||||
(sound (str f ".mp3")))))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user