i hate everything
This commit is contained in:
parent
ecf4f9c719
commit
bbdbef889a
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ BUNDLE_NAME = bundle.lua
|
|||||||
HAXE_NAME = haxe.lua
|
HAXE_NAME = haxe.lua
|
||||||
MINIFYD_NAME = bundle.min.lua
|
MINIFYD_NAME = bundle.min.lua
|
||||||
BUILD_DIR = build
|
BUILD_DIR = build
|
||||||
HAXE_FLAGS = -D webconsole --debug
|
HAXE_FLAGS =
|
||||||
POLYFILLED_NAME = bundle.polyfill.lua
|
POLYFILLED_NAME = bundle.polyfill.lua
|
||||||
POLYFILL_SRC = src/polyfill.lua
|
POLYFILL_SRC = src/polyfill.lua
|
||||||
|
|
||||||
|
@ -74,11 +74,7 @@ class Routing {
|
|||||||
data: null
|
data: null
|
||||||
}
|
}
|
||||||
|
|
||||||
// HACK: Because Lua is singelthreaded the computer we respond to can get overwhelmed with
|
|
||||||
// the responses and can swollow events.
|
|
||||||
new Timer(Net.instance.networkID / 3,()->{
|
|
||||||
interf.send(response.toID,Net.instance.networkID,response);
|
interf.send(response.toID,Net.instance.networkID,response);
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function genRouteList(): Array<{id:NetworkID,cost:Int}> {
|
private function genRouteList(): Array<{id:NetworkID,cost:Int}> {
|
||||||
|
Loading…
Reference in New Issue
Block a user