Update main.js
This commit is contained in:
parent
1666f16f77
commit
ece94db032
|
|
@ -17,7 +17,9 @@ function openClientPopup(ip,port,placefile,mode) {
|
||||||
} else if (mode == "hostandjoin") {
|
} else if (mode == "hostandjoin") {
|
||||||
// user is hosting and joining their own game, use everything
|
// user is hosting and joining their own game, use everything
|
||||||
window.location.href = "archblox://host/" + port + ":" + placefile;
|
window.location.href = "archblox://host/" + port + ":" + placefile;
|
||||||
window.location.href = "archblox://join/" + port + ":" + ip;
|
setTimeout(function(){
|
||||||
|
window.location.href = "archblox://join/" + port + ":" + ip;
|
||||||
|
},500);
|
||||||
} else {
|
} else {
|
||||||
// no information so just use the default
|
// no information so just use the default
|
||||||
window.location.href = "archblox://";
|
window.location.href = "archblox://";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue