mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-06 02:56:41 +00:00
Missed tilemap calls in editor
This commit is contained in:
parent
3b307c7c9d
commit
698d694c43
|
@ -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)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue