summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}