mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
a
This commit is contained in:
parent
bffee64f87
commit
49b8ce0518
1 changed files with 5 additions and 3 deletions
|
@ -143,8 +143,10 @@
|
||||||
// wait until DOM is ready so that error messages can display properly
|
// wait until DOM is ready so that error messages can display properly
|
||||||
window.onload = async () => {
|
window.onload = async () => {
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
init();
|
init();
|
||||||
if (gl) animate();
|
if (gl) animate();
|
||||||
|
}, 0);
|
||||||
|
|
||||||
// dont try doing anything if running in a browser
|
// dont try doing anything if running in a browser
|
||||||
if (navigator.userAgent.indexOf('discord') == -1) return;
|
if (navigator.userAgent.indexOf('discord') == -1) return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue