summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-03 19:11:32 +0100
committertroido <troido@protonmail.com>2020-03-03 19:11:32 +0100
commitf844ed18e29465177a339f244800fb7a2e77daa9 (patch)
treec3445f869eb072a35162e008609cc1dc75c427fb /src/componentwrapper.rs
parent986c82723cf9a4adada02287309999f4ebbf94e3 (diff)
factions now work
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 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()};
);