summaryrefslogtreecommitdiff
path: root/server/protocol/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/protocol/src')
-rw-r--r--server/protocol/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index f4513641..2fcc5598 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -231,9 +231,9 @@ pub struct Score {
#[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Default)]
pub struct Environment {
- rain: f64, // 0-1; clear..raining
- wind: f64, // 0-1; still..stormy
- time: f64, // 0-1; night..morning..noon..evening
+ pub rain: f32, // 0-1; clear..raining
+ pub wind: f32, // 0-1; still..stormy
+ pub time: f32, // 0-1; night..morning..noon..evening
}
#[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Copy, PartialEq, Eq, Hash)]