summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-01 14:31:28 +0200
committertroido <troido@protonmail.com>2020-04-01 14:31:28 +0200
commita911b7fabbaac429efd1747c3b1e925f679752f9 (patch)
tree3a6a3f0482e485a546cbf6ac87b1d131dc9cd718 /src/componentwrapper.rs
parent1ceb4c6f23287bca98f0c3946d5678dce5d0457c (diff)
growing should theoretically work after room unloading
Diffstat (limited to 'src/componentwrapper.rs')
-rw-r--r--src/componentwrapper.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs
index 345c986..40faa2d 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -183,6 +183,7 @@ components!(
Loot (loot: LootList);
Grow (into: Template, delay: Int, target_time: SomeTime);
Equipment () {panic!("equipment from parameters not implemented")};
+ CreationTime (time: Int) {CreationTime{time: Timestamp(time)}};
);