fix extra ready on game done
This commit is contained in:
parent
97facad440
commit
27a7a6e114
@ -321,7 +321,7 @@ CRYP DAMAGE
|
|||||||
* ---------------------------------------------- */
|
* ---------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
.attack-cast {
|
/*.attack-cast {
|
||||||
-webkit-animation: attack-cast 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
|
-webkit-animation: attack-cast 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
|
||||||
animation: attack-cast 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
|
animation: attack-cast 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
|
||||||
}
|
}
|
||||||
@ -358,8 +358,8 @@ CRYP DAMAGE
|
|||||||
|
|
||||||
@-webkit-keyframes attack-hit {
|
@-webkit-keyframes attack-hit {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: translateY(-1000px) translateX(1000px);
|
-webkit-transform: translateY(-5em) translateX(5em);
|
||||||
transform: translateY(-1000px) translateX(1000px);
|
transform: translateY(-5em) translateX(5em);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
@ -370,8 +370,8 @@ CRYP DAMAGE
|
|||||||
}
|
}
|
||||||
@keyframes attack-hit {
|
@keyframes attack-hit {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: translateY(-1000px) translateX(1000px);
|
-webkit-transform: translateY(-5em) translateX(5em);
|
||||||
transform: translateY(-1000px) translateX(1000px);
|
transform: translateY(-5em) translateX(5em);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
@ -380,3 +380,4 @@ CRYP DAMAGE
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
@ -47,6 +47,7 @@ function GamePanel(props) {
|
|||||||
if (game.phase === 'Finish') {
|
if (game.phase === 'Finish') {
|
||||||
sendInstanceState(game.instance);
|
sendInstanceState(game.instance);
|
||||||
quit();
|
quit();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resolution) {
|
if (resolution) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user