Ogg default
This commit is contained in:
parent
6d5c2491c2
commit
98e69afa72
2
static/js/prototype/Coin.js
vendored
2
static/js/prototype/Coin.js
vendored
@ -5,7 +5,7 @@ var Coin = function(x,y,z) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var _toto = new Audio();
|
var _toto = new Audio();
|
||||||
Coin.extension = _toto.canPlayType("audio.mpeg") === "" ? ".mp3" : ".ogg";
|
Coin.extension = _toto.canPlayType("audio/x-vorbis") === "" ? ".ogg" : ".mp3";
|
||||||
|
|
||||||
Coin.prototype.init = function(x,y,z) {
|
Coin.prototype.init = function(x,y,z) {
|
||||||
if (Coin.BASIC_MESH !== null) {
|
if (Coin.BASIC_MESH !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user