summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2018-06-14 10:18:22 -0500
committertom barrett <spalf0@gmail.com>2018-06-14 10:18:22 -0500
commit7094849bf164ff6f853c8f6812a0e831a66762f3 (patch)
tree9f553e799457ddc21317299d5c82facf63dc243b /src/modules
parent01fee8c1a2449a0d086a8bde42de1d61dbdc9231 (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.rs5
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) {