5786: Clarify save message on team member in '/spec' mode r=def- a=Zwelf

Fixes #5767

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Zwelf <zwelf@strct.cc>
This commit is contained in:
bors[bot] 2022-08-28 17:41:21 +00:00 committed by GitHub
commit 8c050cbfa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,7 @@ bool CSaveTeam::HandleSaveError(int Result, int ClientID, CGameContext *pGameCon
pGameContext->SendChatTarget(ClientID, "Could not find your Team");
break;
case 3:
pGameContext->SendChatTarget(ClientID, "Unable to find all Characters");
pGameContext->SendChatTarget(ClientID, "To save all players in your team have to be alive and not in '/spec'");
break;
case 4:
pGameContext->SendChatTarget(ClientID, "Your team has not started yet");