diff options
Diffstat (limited to 'server/examples/client.rs')
-rw-r--r-- | server/examples/client.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/examples/client.rs b/server/examples/client.rs index 6c757f77..e7863cdb 100644 --- a/server/examples/client.rs +++ b/server/examples/client.rs @@ -1,19 +1,19 @@ /* Undercooked - a game about cooking Copyright 2024 metamuffin - + This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License only. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. - + */ use std::{ io::{stdin, BufRead, BufReader, Write}, @@ -49,6 +49,7 @@ fn main() { toks.next().unwrap().parse().unwrap(), toks.next().unwrap().parse().unwrap(), ), + boosting: false, rot: 0., }, "i" => PacketS::Position { @@ -56,6 +57,7 @@ fn main() { toks.next().unwrap().parse().unwrap(), toks.next().unwrap().parse().unwrap(), ), + boosting: false, rot: toks.next().unwrap_or("0").parse().unwrap(), }, _ => { |