fix: proj pos regression (#1616)

This commit is contained in:
RB007
2026-02-19 19:45:18 -05:00
committed by GitHub
parent 8bd5009178
commit dfb24bf76f

View File

@@ -32,7 +32,7 @@ pub struct ThrownItemEntity {
impl ThrownItemEntity {
pub fn new(entity: Entity, owner: &Entity) -> Self {
let mut owner_pos = owner.pos.load();
owner_pos.y = owner.get_eye_height() - 0.1;
owner_pos.y += owner.get_eye_height() - 0.1;
entity.pos.store(owner_pos);
Self {
entity,