replicate Npc marker component

this fixes the broken target_ui
This commit is contained in:
2025-12-09 06:44:04 -05:00
parent 0a3b5253d1
commit 456d6ec92a

View File

@@ -15,6 +15,7 @@ use crate::{
head::ActiveHead,
heads::{ActiveHeads, heads_ui::UiActiveHeads},
hitpoints::Hitpoints,
npc::Npc,
platforms::ActivePlatform,
player::{Player, PlayerBodyMesh},
tick::GameTick,
@@ -92,6 +93,7 @@ pub fn plugin(app: &mut App) {
.replicate::<Name>()
.replicate_once::<Player>()
.replicate_once::<PlayerBodyMesh>()
.replicate_once::<Npc>()
.replicate::<SquishAnimation>()
.replicate_once::<Transform>()
.replicate::<UiActiveHeads>()