projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7f26a
)
fixed bug with using same player UUID for new player with same setup values
author
Holger Schemel
<info@artsoft.org>
Wed, 29 Sep 2021 22:47:41 +0000
(
00:47
+0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 29 Sep 2021 22:47:41 +0000
(
00:47
+0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index d648b00e914a95b3a618cf3ce23b0c1a891ca85f..0cb8a2b017ab8d05e10f0f757a353c17d4d158ab 100644
(file)
--- 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();