replicate Npc marker component
this fixes the broken target_ui
This commit is contained in:
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user