This commit is contained in:
2026-03-22 01:52:20 +00:00
parent 9afcb0f612
commit adc236dc3d
4 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ pub(super) fn execute_idle(
return;
};
let entity_pos = (transform.translation / ITILE_SIZE as f32).as_ivec3();
let entity_pos = transform.translation.as_ivec3();
// Track if target actually changed this tick
let mut target_changed = false;