Actually handle GameOptions package
This commit is contained in:
parent
6ba4e37bab
commit
e0fd2cf804
@ -239,6 +239,11 @@ impl NetworkManager {
|
|||||||
game.bind_mut().handle_telegrenade_teleport(player_id, to);
|
game.bind_mut().handle_telegrenade_teleport(player_id, to);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Package::GameOptions(opts) => {
|
||||||
|
if let Some(game) = &mut Game::singleton() {
|
||||||
|
game.bind_mut().opts = opts;
|
||||||
|
}
|
||||||
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user