Commit 146dd581 authored by Rahix's avatar Rahix 🦀
Browse files

level_loading: Clear objective display

Make sure no elements from the previous shift remain in this area before
starting the next shift.
parent ac3b9237
......@@ -6,6 +6,7 @@ use crate::resources;
use crate::sprites;
use crate::states;
use crate::svg_loader;
use crate::utils;
pub struct LevelLoadingState {
node_world: legion::World,
......@@ -35,6 +36,10 @@ impl LevelLoadingState {
// Clean the objective display before the next shift
let objective = utils::get_element_by_id::<web_sys::Element>("ingame-objective").unwrap();
LevelLoadingState {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment