Incorrect photon message should not stop messurements

This commit is contained in:
Wiktor Mazur
2020-01-26 13:25:15 +01:00
parent 9e04b326e6
commit a3059c8761
4 changed files with 264 additions and 643 deletions
+1
View File
@@ -150,6 +150,7 @@ fn generate_messages() -> String {
out.push_str(&format!(r###"
pub fn into_game_message(photon_message: photon_decode::Message) -> Option<Message> {{
debug!("Raw photon : {{:?}}", photon_message);
match photon_message {{
photon_decode::Message::Event(photon_decode::EventData{{
code: 1,