holy balls optimization
This commit is contained in:
parent
8a94bf247f
commit
b4b6b0f988
8 changed files with 25 additions and 70 deletions
|
@ -33,11 +33,14 @@ if (app.cfg.advanced.disableLogging === true) {
|
|||
// Mount Vue to #app
|
||||
app.$mount("#app")
|
||||
|
||||
// Init CiderAudio
|
||||
if (app.cfg.advanced.AudioContext === true) {
|
||||
CiderAudio.init()
|
||||
// Init CiderAudio and force audiocontext
|
||||
if (app.cfg.advanced.AudioContext != true) {
|
||||
app.cfg.advanced.AudioContext = true;
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
CiderAudio.init()
|
||||
|
||||
// Import gamepad support
|
||||
app.simulateGamepad = simulateGamepad
|
||||
app.spawnMica = spawnMica
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue