1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-04 13:47:44 +00:00

Add warning message when failing to find poprange

This commit is contained in:
Joshua Goins 2025-05-12 16:32:55 -04:00
parent 1cdd2d4bff
commit 59815df5c1
3 changed files with 12 additions and 10 deletions

View file

@ -237,6 +237,8 @@ impl UserData for Zone {
y: trans[1],
z: trans[2],
});
} else {
tracing::warn!("Failed to find pop range for {id}!");
}
Ok(mlua::Nil)
},

View file

@ -8,7 +8,7 @@ use physis::{
};
/// Represents a loaded zone
#[derive(Default)]
#[derive(Default, Debug)]
pub struct Zone {
pub id: u16,
planevent: Option<LayerGroup>,