forked from CringeStudios/gamja
Fix /help
not showing any commands
This commit is contained in:
parent
5146b0cad8
commit
1e3903c014
@ -42,8 +42,8 @@ function KeyBindingsHelp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function CommandsHelp() {
|
function CommandsHelp() {
|
||||||
let l = Object.keys(commands).map((name) => {
|
let l = [...commands.keys()].map((name) => {
|
||||||
let cmd = commands[name];
|
let cmd = commands.get(name);
|
||||||
|
|
||||||
let usage = [html`<strong>/${name}</strong>`];
|
let usage = [html`<strong>/${name}</strong>`];
|
||||||
if (cmd.usage) {
|
if (cmd.usage) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user