From ca89a6eaff1644fe542804613c726a8e7804474a Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 8 Apr 2024 02:15:58 +0200 Subject: [PATCH] disable "sleeping" of actors in physics engine --- src/commands.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands.rs b/src/commands.rs index 8f19eaa..6c384a5 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -588,6 +588,7 @@ fn spawn_entities( camdistance: state.camdistance, ..default() }); + actor.insert(SleepingDisabled); actor.insert(world::DespawnOnPlayerDeath); actor.insert(actor::HitPoints::default()); actor.insert(Position::from(state.pos));