summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-01 21:25:18 +0200
committertroido <troido@protonmail.com>2020-04-01 21:25:18 +0200
commit9d61814eeb7873a1c21d0f521dcb3649f3b4baf8 (patch)
tree1b43e51aff93837a01616a028ada46b90c9f077a /src/componentwrapper.rs
parent633cb7d5b2048324a13bedb43468a7f04a81a519 (diff)
room unloading works now
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 589da15..42eccff 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -196,6 +196,7 @@ components!(
into,
delay,
target_time: if target_time == 0 { None } else { Some(Timestamp(target_time)) }
+ // please forgive me for using 0 as null
};
Equipment () {panic!("equipment from parameters not implemented")};
CreationTime (time: Int) {CreationTime{time: Timestamp(time)}};