1
This commit is contained in:
@@ -23,6 +23,8 @@ namespace BITKit.Entities
|
||||
[SerializeReference, SubclassSelector, Inject(true)]
|
||||
private IMeleeService meleeService;
|
||||
|
||||
[Inject(true)] private IHealth _health;
|
||||
|
||||
[Inject(true)] private IEntityOverride entityOverride;
|
||||
private readonly IntervalUpdate disableMelee = new(0.64f);
|
||||
|
||||
@@ -63,6 +65,7 @@ namespace BITKit.Entities
|
||||
|
||||
private void AnimationEventInternal(string actionName)
|
||||
{
|
||||
if (_health is { IsAlive: false }) return;
|
||||
switch (actionName)
|
||||
{
|
||||
case "Melee":
|
||||
|
Reference in New Issue
Block a user