Skip to content

Commit

Permalink
Defaulting to just active players when invoking commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusor committed Jul 30, 2021
1 parent be92535 commit 52f4a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"\n" \
"Options:\n" \
ARG_PLAYER " <name,...>\tExecute command only for player(s) named <name,...>\n" \
" "PLAYER_ACTIVE"\t\tExecute command only for the active player(s)\n" \
" "PLAYER_ACTIVE"\t\tExecute command only for the active player(s) (default)\n" \
" "PLAYER_INACTIVE"\tExecute command only for the inactive player(s)\n" \
"\n" \
"Commands:\n"\
Expand Down Expand Up @@ -279,7 +279,7 @@ int main(int argc, char** argv)
}
if (!active_players && !inactive_players && player_count == 0) {
active_players = true;
inactive_players = true;
inactive_players = false;
}
char *info_format = INFO_DEFAULT_STATUS;
char *command = NULL;
Expand Down

0 comments on commit 52f4a63

Please sign in to comment.