diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2020-04-20 19:32:24 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2020-04-20 19:32:24 +0200 |
commit | ad2190963e8c6ccece6259212d2143981448535d (patch) | |
tree | c88f2446a7ef2fd6c193c0b25c03ab6257bc9194 /src/global_json.rs | |
parent | 7162aa803abd69a24f9e85c6681561d97fa79c15 (diff) |
Removed weird temporary variable from state
Diffstat (limited to 'src/global_json.rs')
-rw-r--r-- | src/global_json.rs | 1 |
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 |