Skip to content

Commit db9de8f

Browse files
committed
fix
1 parent cae5164 commit db9de8f

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

game/Custom.css

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,16 +1368,6 @@ body.game-paused #cover {
13681368
}
13691369
}
13701370

1371-
@keyframes credits_finale_fade {
1372-
0%,
1373-
90% {
1374-
opacity: 0;
1375-
}
1376-
100% {
1377-
opacity: 1;
1378-
}
1379-
}
1380-
13811371
#dMenu_credits {
13821372
text-align: center;
13831373
background-color: #000;
@@ -1390,7 +1380,7 @@ body.game-paused #cover {
13901380
left: 50%;
13911381
transform: translate(-50%, -50%) scale(1.3);
13921382
opacity: 0;
1393-
animation: credits_finale_fade 75s linear forwards;
1383+
transition: opacity 2s ease-in;
13941384
font-family: "houseofterrormedium" !important;
13951385
text-transform: uppercase;
13961386
& * {

game/menu/js/credits.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
PlaySound2("ZombiesOnYourLawn", true);
22
AllAudioPaused();
3+
4+
menuContainer.querySelector(".content").addEventListener("animationend", () => {
5+
menuContainer.querySelector(".credits-finale").style.opacity = "1";
6+
});

0 commit comments

Comments
 (0)