From: Holger Schemel Date: Wed, 29 Sep 2021 22:47:41 +0000 (+0200) Subject: fixed bug with using same player UUID for new player with same setup values X-Git-Tag: 4.3.0.0~26 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9a428699f518bb0b4982e203f809963fd4ebe6da;p=rocksndiamonds.git fixed bug with using same player UUID for new player with same setup values --- diff --git a/src/screens.c b/src/screens.c index d648b00e..0cb8a2b0 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4360,6 +4360,8 @@ static void setTypeNameValues(char *name, struct TextPosInfo *pos, if (!create_user || !Request("Use current setup values for the new player?", REQ_ASK)) LoadSetup(); + else + setup.player_uuid = getStringCopy(getUUID()); } char *setup_filename = getSetupFilename();