summaryrefslogtreecommitdiff
path: root/src/world.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-07-23 04:59:52 -0500
committertom barrett <spalf0@gmail.com>2019-07-23 04:59:52 -0500
commitc25884efd8d1a239c88dbafd7a0e12eca3c7401b (patch)
tree63ca4a26fa7ff159ae654841b724e7ca4e876da7 /src/world.rs
parent2ee665ef6954f6eab9f0398c19284b3ea4c8246d (diff)
update deps
Diffstat (limited to 'src/world.rs')
-rw-r--r--src/world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.rs b/src/world.rs
index 0de8726..f89e9e7 100644
--- a/src/world.rs
+++ b/src/world.rs
@@ -30,7 +30,7 @@ impl World {
Ok(World {
map: map.clone(),
spritebatch: SpriteBatch::new(image),
- camera: Camera::new(context, map.get_dimensions()),
+ camera: Camera::new(map.get_dimensions()),
player: Player::new(
&tileset,
map.get_spawn_points("player")[0],