game cancelled
This commit is contained in:
parent
dfcc281416
commit
70f99a6ffd
@ -434,6 +434,10 @@
|
||||
&.winner {
|
||||
animation: win 2s ease-in-out 0s 1;
|
||||
}
|
||||
|
||||
.cancelled {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.tutorial {
|
||||
|
||||
@ -80,6 +80,12 @@ class Faceoff extends preact.Component {
|
||||
}
|
||||
function faceoffText() {
|
||||
if (!instance.winner) {
|
||||
if (instance.phase === 'Finished') return (
|
||||
<div class="faceoff-text">
|
||||
<div class="cancelled"> game cancelled </div>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<div class="faceoff-text">
|
||||
<div class="opponent-text"> {otherTeam.name} </div>
|
||||
|
||||
@ -73,7 +73,7 @@ pub fn chat_wheel(_db: &Db, _id: Uuid) -> Result<Vec<String>, Error> {
|
||||
"glhf".to_string(),
|
||||
"ez".to_string(),
|
||||
"rekt".to_string(),
|
||||
"nice".to_string(),
|
||||
"wow".to_string(),
|
||||
"wp".to_string(),
|
||||
"ok".to_string(),
|
||||
"...".to_string(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user