@@ -21,22 +21,8 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
||||
get => _isInCombatMode;
|
||||
set
|
||||
{
|
||||
if (_isInCombatMode == value) return;
|
||||
_isInCombatMode = value;
|
||||
Dirty();
|
||||
|
||||
// Regenerate physics contacts -> Can probably just selectively check
|
||||
/* Still a bit jank so left disabled for now.
|
||||
if (Owner.TryGetComponent(out PhysicsComponent? physicsComponent))
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
physicsComponent.WakeBody();
|
||||
}
|
||||
|
||||
physicsComponent.RegenerateContacts();
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +32,6 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
||||
get => _activeZone;
|
||||
set
|
||||
{
|
||||
if (_activeZone == value) return;
|
||||
_activeZone = value;
|
||||
Dirty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user