diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2020-04-20 19:37:57 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2020-04-20 19:37:57 +0200 |
commit | 7f2d82e15459fc3d365674e3772aed6c3d443ca2 (patch) | |
tree | 7e14acc3dfb11f00fd47c6d5d7bc9782e8a4f9f8 /src/global_json.rs | |
parent | ad2190963e8c6ccece6259212d2143981448535d (diff) |
No more tracking the finish line in the state as a collidable thing
Diffstat (limited to 'src/global_json.rs')
-rw-r--r-- | src/global_json.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/global_json.rs b/src/global_json.rs index ce440ea..af69157 100644 --- a/src/global_json.rs +++ b/src/global_json.rs @@ -125,13 +125,6 @@ impl JsonState { .map(|cell| cell.position.to_position()) .collect(), ), - finish_lines: Rc::new( - self.blocks - .iter() - .filter(|cell| cell.surface_object == JsonSurfaceObject::FinishLine) - .map(|cell| cell.position.to_position()) - .collect(), - ), }) } } @@ -154,7 +147,6 @@ impl JsonPlayer { .filter(|powerup| **powerup == JsonPowerup::Boost) .count() .try_into()?, - finished: false, }) } } |