wrire up ammo and health in head_ui

This commit is contained in:
2025-04-01 23:47:51 +08:00
parent d9fad37e07
commit 8187eb58a9
3 changed files with 74 additions and 25 deletions

View File

@@ -153,6 +153,7 @@ fn sync(
new_state = Some(BackpackHead {
head: head.0,
health: hp.health(),
ammo: 1.,
});
}
}