added check if typed player name has not changed
authorHolger Schemel <info@artsoft.org>
Mon, 19 Oct 2020 17:46:19 +0000 (19:46 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:58 +0000 (00:57 +0100)
src/screens.c

index eba14f7ad58b447a601b9c97db3728c3f73a31ad..e2dba46087f486de974661359bdab8560f7feb38 100644 (file)
@@ -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)