From 698d694c4377d937891e7f373e84544b2df3c6c8 Mon Sep 17 00:00:00 2001 From: dawnDus <96957561+dawndus@users.noreply.github.com> Date: Tue, 25 Jan 2022 00:16:07 -0500 Subject: [PATCH] Missed tilemap calls in editor --- src/editor/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/editor/mod.rs b/src/editor/mod.rs index 6919d80..0520c5b 100644 --- a/src/editor/mod.rs +++ b/src/editor/mod.rs @@ -214,10 +214,10 @@ impl EditorInstance { let paths = self.stage_textures.deref().borrow(); self.background.draw(state, ctx, &self.frame, &*paths, &self.stage)?; - self.tilemap.draw(state, ctx, &self.frame, TileLayer::Background, &*paths, &self.stage, 0)?; - self.tilemap.draw(state, ctx, &self.frame, TileLayer::Middleground, &*paths, &self.stage, 0)?; - self.tilemap.draw(state, ctx, &self.frame, TileLayer::Foreground, &*paths, &self.stage, 0)?; - self.tilemap.draw(state, ctx, &self.frame, TileLayer::Snack, &*paths, &self.stage, 0)?; + self.tilemap.draw(state, ctx, &self.frame, TileLayer::Background, &*paths, &self.stage)?; + self.tilemap.draw(state, ctx, &self.frame, TileLayer::Middleground, &*paths, &self.stage)?; + self.tilemap.draw(state, ctx, &self.frame, TileLayer::Foreground, &*paths, &self.stage)?; + self.tilemap.draw(state, ctx, &self.frame, TileLayer::Snack, &*paths, &self.stage)?; self.draw_black_bars(state, ctx)?;