From 22652b6994a1b328de77a9552309ea3dc87173e0 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 28 May 2019 22:54:54 +1000 Subject: [PATCH] skills opacity 0 resoling --- WORKLOG.md | 2 ++ client/assets/styles/game.css | 2 +- server/src/game.rs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WORKLOG.md b/WORKLOG.md index 634e90af..782d0f24 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -48,6 +48,8 @@ * remove test variants of skills +* itemise all skills and warn on some + ## SOON * push events diff --git a/client/assets/styles/game.css b/client/assets/styles/game.css index da27e9c9..20e7eace 100644 --- a/client/assets/styles/game.css +++ b/client/assets/styles/game.css @@ -313,7 +313,7 @@ CONSTRUCT DAMAGE } */ .resolving .skills button { - display: none; + opacity: 0; } /* diff --git a/server/src/game.rs b/server/src/game.rs index b3ce419c..109a7e17 100644 --- a/server/src/game.rs +++ b/server/src/game.rs @@ -180,7 +180,7 @@ impl Game { for construct in player.constructs.iter_mut() { for i in 0..construct.skills.len() { - if let Some(d) = construct.disabled(construct.skills[i].skill) { + if let Some(_d) = construct.disabled(construct.skills[i].skill) { // info!("{:?} disabled {:?}", construct.skills[i].skill, d); construct.skills[i].disabled = true; } else {