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

get_player() sets player, it doesn't return it.

parent b480bca6
...@@ -1075,7 +1075,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [ ...@@ -1075,7 +1075,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [
more(); more();
} }
else { else {
player = get_player(i); get_player(i);
} }
} }
else { else {
...@@ -1107,7 +1107,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [ ...@@ -1107,7 +1107,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [
more(); more();
} }
else { else {
player = get_player(i); get_player(i);
} }
} }
ctx.title = menu_title(); ctx.title = menu_title();
...@@ -1139,7 +1139,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [ ...@@ -1139,7 +1139,7 @@ menu('`r0`c `r1 `%LORD II: CONFIGURE JS `r0', true, [
]; ];
} }
player = get_player(0); get_player(0);
menu(menu_title(), false, options(), 0); menu(menu_title(), false, options(), 0);
}}, }},
{text:' `2(`%I`2)tem Editor', shortcut:'I', callback:function() { {text:' `2(`%I`2)tem Editor', shortcut:'I', callback:function() {
......
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