summaryrefslogtreecommitdiff
path: root/src/componentparameter.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-01 13:27:42 +0200
committertroido <troido@protonmail.com>2020-04-01 13:27:42 +0200
commit1ceb4c6f23287bca98f0c3946d5678dce5d0457c (patch)
treec354643711d0a6066b149206a29d2182b281f50f /src/componentparameter.rs
parent69ac6eb6153b016c39bbe55c85f15e3478032182 (diff)
better time handling for growing plants
Diffstat (limited to 'src/componentparameter.rs')
-rw-r--r--src/componentparameter.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/componentparameter.rs b/src/componentparameter.rs
index bcf42e9..068df76 100644
--- a/src/componentparameter.rs
+++ b/src/componentparameter.rs
@@ -55,7 +55,8 @@ impl ComponentParameter {
Some(Parameter::String(string))
}
Self::TemplateSelf => Some(Parameter::Template(template.clone())),
- Self::TemplateName => Some(Parameter::String(template.name.0.clone()))
+ Self::TemplateName => Some(Parameter::String(template.name.0.clone())),
+
}
}