diff options
author | tom barrett <spalf0@gmail.com> | 2018-06-14 10:18:22 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2018-06-14 10:18:22 -0500 |
commit | 7094849bf164ff6f853c8f6812a0e831a66762f3 (patch) | |
tree | 9f553e799457ddc21317299d5c82facf63dc243b /src/modules | |
parent | 01fee8c1a2449a0d086a8bde42de1d61dbdc9231 (diff) |
updated dependancies, made it so server still processes events if client connection is disconnected
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/navigation.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/navigation.rs b/src/modules/navigation.rs index 179a766..c4b3224 100644 --- a/src/modules/navigation.rs +++ b/src/modules/navigation.rs @@ -41,6 +41,11 @@ impl Navigation { } _ => (), } + + match self.target_name { + None => self.status = NavigationStatus::None, + _ => (), + } } pub fn give_target(&mut self, target_name : String) { |