summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-01-29 00:13:03 +0100
committertroido <troido@protonmail.com>2020-01-29 00:13:03 +0100
commit88f275bc427033b7981e0dc2fc5cb4b711fd5fb1 (patch)
treebbac6dc2a928cd121d3c45d0506aad9c32afe169 /src/components.rs
parentb3356eabcea09f599ad99c1332450e4d9570161b (diff)
refactored control
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs
index 51469cc..07de1d5 100644
--- a/src/components.rs
+++ b/src/components.rs
@@ -23,4 +23,4 @@ pub struct Visible {
#[derive(Component, Debug)]
#[storage(VecStorage)]
-pub struct Controller(pub Option<Control>);
+pub struct Controller(pub Control);