Skip to content

Commit

Permalink
fixup: more concise error
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisAMJ committed Jan 3, 2024
1 parent 8925af3 commit c6ea83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/ConfigPlus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ static Condition *ParseCondition(std::queue<Token> toks) {

CON_COMMAND_F(sar_get_partner_id, "sar_get_partner_id - Prints your coop partner's steam id\n", FCVAR_DONTRECORD) {
if (!engine->IsCoop() || engine->IsSplitscreen() || !strcmp("0", engine->GetPartnerSteamID32().c_str())) {
console->Print("You are either in singleplayer, splitscreen co-op, or not playing. This command only works in online co-op.\n");
console->Print("This command only works in online co-op.\n");
return;
}
console->Print("%s\n", engine->GetPartnerSteamID32().c_str());
Expand Down

0 comments on commit c6ea83c

Please sign in to comment.