mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-28 02:48:14 -05:00
Update #37 - Touch support without userscript, many other feats
This commit is contained in:
@ -8,7 +8,7 @@ if(typeof window !== "undefined") {
|
||||
if(window.eaglercraftXOptsHints && window.eaglercraftXOptsHints.hintsVersion === 1) {
|
||||
window.eaglercraftXOpts = window.eaglercraftXOptsHints;
|
||||
}else {
|
||||
const relayzId = Math.floor(Math.random() * 3);
|
||||
var relayzId = Math.floor(Math.random() * 3);
|
||||
window.eaglercraftXOpts = {
|
||||
container: "game_frame",
|
||||
worldsDB: "worlds",
|
||||
@ -20,15 +20,11 @@ if(typeof window !== "undefined") {
|
||||
checkRelaysForUpdates: true
|
||||
};
|
||||
}
|
||||
window.addEventListener("load", () => {
|
||||
window.addEventListener("load", function() {
|
||||
main();
|
||||
});
|
||||
}
|
||||
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
if(typeof window !== "undefined") { window.eaglercraftXOpts.enableSignatureBadge = true; window.eaglercraftXOpts.assetsURI = ${assets_epk}; }
|
||||
|
||||
if(typeof window !== "undefined") setTimeout(() => {
|
||||
main();
|
||||
}, 0);
|
||||
if(typeof window !== "undefined") { window.eaglercraftXOpts.enableSignatureBadge = true; window.eaglercraftXOpts.assetsURI = ${assets_epk}; main(); }
|
||||
|
Reference in New Issue
Block a user