summaryrefslogtreecommitdiff
path: root/src/world.rs
diff options
context:
space:
mode:
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],