From f844ed18e29465177a339f244800fb7a2e77daa9 Mon Sep 17 00:00:00 2001 From: troido Date: Tue, 3 Mar 2020 19:11:32 +0100 Subject: factions now work --- 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 c617d77..3acc8e9 100644 --- a/src/componentwrapper.rs +++ b/src/componentwrapper.rs @@ -134,6 +134,7 @@ components!( }; Clan (name: String) Clan{name}; Home (home: Pos) Home{home}; + Faction (faction: String) {Faction::from_str(faction.as_str()).unwrap()}; ); -- cgit