From: Holger Schemel Date: Mon, 19 Oct 2020 17:46:19 +0000 (+0200) Subject: added check if typed player name has not changed X-Git-Tag: 4.2.1.0~31 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=298d3f89546bb5ac472c501c940603dbb49db2fb;p=rocksndiamonds.git added check if typed player name has not changed --- diff --git a/src/screens.c b/src/screens.c index eba14f7a..e2dba460 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4083,6 +4083,9 @@ static void setTypeNameValues(char *name, int *font, boolean success) if (!success) return; + if (strEqual(name, type_name_last)) + return; + int last_user_nr = user.nr; if (setup.multiple_users)