diff --git a/client/assets/styles/instance.less b/client/assets/styles/instance.less index 4bb23969..b94ad2d9 100644 --- a/client/assets/styles/instance.less +++ b/client/assets/styles/instance.less @@ -434,6 +434,10 @@ &.winner { animation: win 2s ease-in-out 0s 1; } + + .cancelled { + color: white; + } } .tutorial { diff --git a/client/src/components/faceoff.jsx b/client/src/components/faceoff.jsx index ea3858cd..579a9e6e 100644 --- a/client/src/components/faceoff.jsx +++ b/client/src/components/faceoff.jsx @@ -80,6 +80,12 @@ class Faceoff extends preact.Component { } function faceoffText() { if (!instance.winner) { + if (instance.phase === 'Finished') return ( +
+
game cancelled
+
+ ); + return (
{otherTeam.name}
diff --git a/server/src/account.rs b/server/src/account.rs index 66af0821..c404d7d6 100644 --- a/server/src/account.rs +++ b/server/src/account.rs @@ -73,7 +73,7 @@ pub fn chat_wheel(_db: &Db, _id: Uuid) -> Result, Error> { "glhf".to_string(), "ez".to_string(), "rekt".to_string(), - "nice".to_string(), + "wow".to_string(), "wp".to_string(), "ok".to_string(), "...".to_string(),