Browse Source

clear map batch

Bastien Sevajol 3 years ago
parent
commit
d6c96cd7d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs View File

@@ -373,6 +373,7 @@ impl event::EventHandler for MainState {
373 373
         )?;
374 374
 
375 375
         self.sprite_sheet_batch.clear();
376
+        self.map_batch.clear();
376 377
         graphics::present(ctx)?;
377 378
 
378 379
         println!("FPS: {}", ggez::timer::fps(ctx));