From 21919636f95a1214b7ed1a3e4aa6527f45b9d073 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 4 Mar 2020 12:15:58 +0100 Subject: interacting now works --- src/componentwrapper.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/componentwrapper.rs') 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()}; ); -- cgit