Skip to content

Commit

Permalink
Add alias of lastscores as lastscoresktx
Browse files Browse the repository at this point in the history
The `lastscores` command in KTX conflicts with the `lastscores` command
in mvdsv. Therefore, when calling `cmd lastscores` you'll invoke the
mvdsv command instead of the KTX command, as one might expect.

By adding the `lastscoresktx` alias you can invoke the `lastscores`
command by running `cmd lastscoresktx`.
  • Loading branch information
osm committed Mar 12, 2024
1 parent 054ef60 commit 2dee751
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ cmd_t cmds[] =
{ "next_pow", next_pow, 0, CF_SPECTATOR | CF_MATCHLESS, CD_NEXT_POW },
{ "laststats", LastStats, 0, CF_BOTH | CF_MATCHLESS, CD_LASTSTATS },
{ "lastscores", lastscores, 0, CF_BOTH | CF_MATCHLESS | CF_PARAMS, CD_LASTSCORES },
{ "lastscoresktx", lastscores, 0, CF_BOTH | CF_MATCHLESS | CF_PARAMS, CD_LASTSCORES },
{ "rnd", krnd, 0, CF_BOTH | CF_PARAMS, CD_RND },
{ "agree", agree_on_map, 0, CF_PLAYER | CF_MATCHLESS, CD_AGREE },
{ "pos_show", Pos_Show, 0, CF_BOTH | CF_PARAMS, CD_POS_SHOW },
Expand Down

0 comments on commit 2dee751

Please sign in to comment.