Added social stuff to more areas

This commit is contained in:
sarah committed 2026-09-07 19:11:45 +02:00
1 parent 56d70e8c0c
commit bafb53e4d5
7 files changed
+540 -181

No files matched your search

+15 -3
View File
@@ -1194,6 +1194,10 @@ function InitialiseProfilePictureChooser() {
SavedProfilePicture.GrowthStage
);
} else {
const DefaultPlantKey =
DefaultGardenerProfilePicture
.PlantKey;
const FirstEntry =
GetProfilePicturePlantEntries()
.sort(
@@ -1203,11 +1207,19 @@ function InitialiseProfilePictureChooser() {
)[0] ?? null;
ProfilePictureSelectedPlantKey =
FirstEntry?.PlantKey ??
null;
IsProfilePicturePlantAvailable(
DefaultPlantKey
)
? DefaultPlantKey
: FirstEntry?.PlantKey ??
null;
ProfilePictureSelectedGrowthStage =
null;
ProfilePictureSelectedPlantKey ===
DefaultPlantKey
? DefaultGardenerProfilePicture
.GrowthStage
: null;
}
RenderProfilePictureChooser();