summaryrefslogtreecommitdiff
path: root/src/input/json.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-12-08 22:02:19 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-12-08 22:02:19 +0200
commit1e21ebed15321aacbba53121cb40bbc60f4db1cc (patch)
tree1d0f07ce61e138c717b96b9692bc2329bb590dd1 /src/input/json.rs
parentf6611aab7c696520d9be5dfe29303fd6e0ade0d7 (diff)
Renamed variable to be more concise
Diffstat (limited to 'src/input/json.rs')
-rw-r--r--src/input/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/json.rs b/src/input/json.rs
index 4e10f9a..a71d49e 100644
--- a/src/input/json.rs
+++ b/src/input/json.rs
@@ -89,7 +89,7 @@ impl State {
} else {
&mut opponent
};
- let bitfield = point.to_either_bitfield();
+ let bitfield = point.to_bitfield();
bitwise_buildings.occupied |= bitfield;
if building.construction_time_left >= 0 {