mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix js
This commit is contained in:
parent
203916bfae
commit
70b4d51943
3 changed files with 7 additions and 5 deletions
|
|
@ -2,6 +2,8 @@
|
|||
-lib heaps
|
||||
-lib stb_ogg_sound
|
||||
-lib zip
|
||||
-lib datachannel
|
||||
-lib colyseus-websocket
|
||||
-lib uglifyjs
|
||||
--js marblegame.js
|
||||
-D windowSize=1280x720
|
||||
|
|
|
|||
|
|
@ -2083,7 +2083,7 @@ class MarbleWorld extends Scheduler {
|
|||
#if js
|
||||
lock = true;
|
||||
|
||||
var loadPerTick = 500; // Stack limits???
|
||||
var loadPerTick = 100; // Stack limits???
|
||||
var loadedFuncs = 0;
|
||||
var func = this.resourceLoadFuncs.shift();
|
||||
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@ typedef RemoteServerInfo = {
|
|||
}
|
||||
|
||||
class MasterServerClient {
|
||||
// #if js
|
||||
// static var serverIp = "wss://mbomaster.randomityguy.me:8443";
|
||||
// #else
|
||||
#if js
|
||||
static var serverIp = "wss://mbpmaster.randomityguy.me:8443";
|
||||
#else
|
||||
static var serverIp = "ws://89.58.58.191:8084";
|
||||
// #end
|
||||
#end
|
||||
public static var instance:MasterServerClient;
|
||||
|
||||
var ws:WebSocket;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue