Switch to tabs instead of spaces

This commit is contained in:
Telokis
2023-10-28 17:42:47 +02:00
parent 8099f31e4c
commit db3f76d12d
7 changed files with 18110 additions and 18108 deletions
+11 -11
View File
@@ -12,17 +12,17 @@ var smap_data = workerData.smap_data;
var amap_data = workerData.amap_data;
parentPort.on("message", function (data) {
try {
//console.log(data);
if (data.type == "fast_astar") {
parentPort.postMessage({ type: "monster_move", move: fast_astar(data), id: data.id, in: data.in });
}
if (data.type == "exit") {
process.exit();
}
} catch (e) {
console.log(e);
}
try {
//console.log(data);
if (data.type == "fast_astar") {
parentPort.postMessage({ type: "monster_move", move: fast_astar(data), id: data.id, in: data.in });
}
if (data.type == "exit") {
process.exit();
}
} catch (e) {
console.log(e);
}
});
setInterval(function () {}, 10);