summaryrefslogtreecommitdiff
path: root/src/global_json.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2020-04-20 19:32:24 +0200
committerJustin Wernick <justin@worthe-it.co.za>2020-04-20 19:32:24 +0200
commitad2190963e8c6ccece6259212d2143981448535d (patch)
treec88f2446a7ef2fd6c193c0b25c03ab6257bc9194 /src/global_json.rs
parent7162aa803abd69a24f9e85c6681561d97fa79c15 (diff)
Removed weird temporary variable from state
Diffstat (limited to 'src/global_json.rs')
-rw-r--r--src/global_json.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/global_json.rs b/src/global_json.rs
index 101a085..ce440ea 100644
--- a/src/global_json.rs
+++ b/src/global_json.rs
@@ -140,7 +140,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