i hate everything

This commit is contained in:
2022-03-01 13:20:23 +01:00
parent ecf4f9c719
commit bbdbef889a
2 changed files with 2 additions and 6 deletions

View File

@@ -74,11 +74,7 @@ class Routing {
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}> {