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 9b380ba9 authored by Deucе's avatar Deucе 👌🏾

Fix an error on timeout handling and fix issue dropping quest items.

parent af752796
......@@ -48,7 +48,7 @@ function handle_timeout(reason)
run_ref('notime', 'help.ref');
break;
}
run_ref('endgame', 'gameref.ref');
run_ref('endgame', 'gametxt.ref');
exit(0);
}
time_callback = handle_timeout;
......@@ -2363,6 +2363,8 @@ rescan:
return;
}
else {
if (cur >= inv.length)
cur = inv.length - 1;
newpage:
while (1) {
choice = items_menu(inv, cur, false, false, 'D', y, 22);
......
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