LMS can set player's name (only LMS scope) - release

This commit is contained in:
Philippe G
2021-03-31 19:24:34 -07:00
parent 43aa62ac56
commit 0629b017b1
4 changed files with 32 additions and 0 deletions

View File

@@ -480,6 +480,9 @@ static void process_setd(u8_t *pkt, int len) {
LOG_INFO("set name: %s", setd->data);
// confirm change to server
sendSETDName(setd->data);
#if EMBEDDED
set_name(player_name);
#endif
// write name to name_file if -N option set
if (name_file) {
FILE *fp = fopen(name_file, "w");