mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
simplify debug mouse pos output slightly
This commit is contained in:
parent
a2f7a55dd2
commit
efdb38fcbe
1 changed files with 1 additions and 2 deletions
|
@ -250,12 +250,11 @@ impl ParticleWorldState {
|
|||
(y.floor() as isize).rem_euclid(512),
|
||||
unsafe { pixel_array.as_mut() }.unwrap(),
|
||||
) {
|
||||
noita_api::print!("{cell:?}");
|
||||
let cell_type = self.get_cell_type(cell);
|
||||
if cell_type == Some(ntypes::CellType::Liquid) {
|
||||
noita_api::print!("{:?}", unsafe { cell.get_liquid() });
|
||||
} else {
|
||||
noita_api::print!("{:?}", cell_type);
|
||||
noita_api::print!("{cell:?}");
|
||||
}
|
||||
noita_api::print!("{:?}", unsafe { cell.material_ptr.as_ref() });
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue