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