summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-04 12:15:58 +0100
committertroido <troido@protonmail.com>2020-03-04 12:15:58 +0100
commit21919636f95a1214b7ed1a3e4aa6527f45b9d073 (patch)
treedfe7a465cdf81048c3ac04b5719571bb0192791f /src/componentwrapper.rs
parentdaae8b511291b8cc854a8747e64e76c6ff2d462e (diff)
interacting now works
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 3acc8e9..638531b 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -135,6 +135,7 @@ components!(
Clan (name: String) Clan{name};
Home (home: Pos) Home{home};
Faction (faction: String) {Faction::from_str(faction.as_str()).unwrap()};
+ Interactable (action: String) {Interactable::from_str(action.as_str()).unwrap()};
);