Skip to content

Commit 46ae0fe

Browse files
committed
Add static image for PumpkinHead (for I, Zombie thumbnails)
1 parent dbdc407 commit 46ae0fe

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed
1.97 KB
Loading

game/js/CPlants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,6 +2179,7 @@ var oPumpkinHead = InheritO(CPlants, {
21792179
"images/Plants/PumpkinHead/Pumpkin_damage1.gif",
21802180
"images/Plants/PumpkinHead/Pumpkin_damage2.gif",
21812181
"images/Plants/PumpkinHead/Pumpkin_back.gif",
2182+
"images/plants/PumpkinHead/PumpkinHead1_static.webp",
21822183
],
21832184
Tooltip: "Protects plants that are within its shell",
21842185
Produce:

game/menu/js/izombieonline.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ function renderThumbnail(thumb, thumbContainer) {
8787
img.style.zIndex = plant[5];
8888
if (window[izombiePlantsMap[plant[0]]] !== oPumpkinHead) {
8989
img.style.transform = "scale(1.5)";
90+
img.src = window[izombiePlantsMap[plant[0]]].prototype.PicArr[8];
9091
}
9192
img.className = "cardboardNoShadow";
9293
thumbContainer.appendChild(img);

0 commit comments

Comments
 (0)