summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstale <redkugelblitzin@gmail.com>2022-07-02 06:12:08 -0300
committerstale <redkugelblitzin@gmail.com>2022-07-02 06:12:08 -0300
commite933ae3795a27a0fad1f37189670c993d8b65f47 (patch)
treeefa1c2f5396409a9f29eb9e6212a2995c73ae480
parent517df189e71626025d33a442cebff592df2d5358 (diff)
hotfixes
-rw-r--r--assets/client.js2
-rw-r--r--conf.json.sample3
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/client.js b/assets/client.js
index 174628f..53689e0 100644
--- a/assets/client.js
+++ b/assets/client.js
@@ -65,7 +65,7 @@ function connect() {
let x = pdat[1][0];
let y = pdat[1][1];
let curs = room.cursors.get(oid);
- if (curs != undefined) {
+ if (oid != player.uid && curs != undefined) {
movCursor(curs, x, y);
} else {
console.log("livepos sys incoherent");
diff --git a/conf.json.sample b/conf.json.sample
index 10ec4f5..aaf5d8d 100644
--- a/conf.json.sample
+++ b/conf.json.sample
@@ -14,6 +14,7 @@
"limits": {
"board_area": 22500,
"room_slots": 16,
- "form_size": 4096
+ "form_size": 4096,
+ "inbound_packet_size": 2048
}
}