Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 1ce8218e authored by Deucе's avatar Deucе 👌🏾
Browse files

Set map/x/y to 1 not zero on death.

parent d4f74174
......@@ -1750,8 +1750,8 @@ function load_player()
// Force move to home on invalid map (can be triggered by a crash in the glen which no longer happens. :)
if (map === null) {
player.map = 1;
player.x = 0;
player.y = 0;
player.x = 1;
player.y = 1;
}
player.lastx = player.x;
player.lasty = player.y;
......@@ -3663,8 +3663,8 @@ function hail()
break;
case 'WON':
op.dead = 1;
op.x = 0;
op.y = 0;
op.x = 1;
op.y = 1;
op.map = 1;
players[op.Record].x = 0;
players[op.Record].y = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment