summaryrefslogtreecommitdiff
path: root/src/json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.rs')
-rw-r--r--src/json.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/json.rs b/src/json.rs
index 6cdc48f..d610c0f 100644
--- a/src/json.rs
+++ b/src/json.rs
@@ -147,7 +147,6 @@ impl JsonPlayer {
fn to_player(&self) -> Result<Player> {
Ok(Player {
position: self.position.to_position(),
- next_position: self.position.to_position(),
speed: self.speed,
boost_remaining: self.boost_counter,
oils: self
@@ -172,7 +171,6 @@ impl JsonOpponent {
fn to_player(&self) -> Player {
Player {
position: self.position.to_position(),
- next_position: self.position.to_position(),
speed: self.speed,
boost_remaining: 0,
oils: 0,