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