Skip to content

Commit

Permalink
Tabcomplete: Send /crq cmdsearch to the current room
Browse files Browse the repository at this point in the history
This is so the command knows if you have access to that command in the current room.
  • Loading branch information
mia-pi-git committed Aug 10, 2024
1 parent 209a3f9 commit 21a896d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/js/client-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
self.handleTabComplete($textbox, reverse);
}
});
app.send('/crq cmdsearch ' + text);
this.send('/crq cmdsearch ' + text);
return true;
} else if (!isCommandSearch) {
delete this.tabComplete.isCommand;
Expand Down

0 comments on commit 21a896d

Please sign in to comment.