mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 02:38:12 +02:00
bleh
This commit is contained in:
1 parent
17c29270cb
commit
b0bc6ecc03
13 files changed
+1809
-168
No files matched your search
@@ -28,13 +28,17 @@ function RenderGuideRecipePlants() {
|
||||
const Plant =
|
||||
Plants[PlantKey];
|
||||
|
||||
const Images =
|
||||
PlantImages[PlantKey] ?? [];
|
||||
const MatureImage =
|
||||
Plant === undefined
|
||||
? null
|
||||
: GetPlantMatureImageSource(
|
||||
Plant
|
||||
);
|
||||
|
||||
|
||||
if (
|
||||
Plant === undefined ||
|
||||
Images.length === 0
|
||||
MatureImage === null
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
@@ -49,9 +53,7 @@ function RenderGuideRecipePlants() {
|
||||
"PlantSprite GuideRecipeImage";
|
||||
|
||||
Image.src =
|
||||
Images[
|
||||
Images.length - 1
|
||||
];
|
||||
MatureImage;
|
||||
|
||||
Image.alt = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user