summaryrefslogtreecommitdiff
path: root/src/componentwrapper.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/componentwrapper.rs
parent69ac6eb6153b016c39bbe55c85f15e3478032182 (diff)
better time handling for growing plants
Diffstat (limited to 'src/componentwrapper.rs')
-rw-r--r--src/componentwrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs
index b1fd64d..345c986 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -181,7 +181,7 @@ components!(
Faction (faction: String) {Faction::from_str(faction.as_str())?};
Interactable (action: String) {Interactable::from_str(action.as_str())?};
Loot (loot: LootList);
- Grow (delay: Int, into: Template) {Grow{delay, into, target_time: None}};
+ Grow (into: Template, delay: Int, target_time: SomeTime);
Equipment () {panic!("equipment from parameters not implemented")};
);