Add OnDamaged method to IOnDamageBehavior (#685)
* Add OnDamaged method to IOnDamageBehavior * Adds Source, SourceMob to OnDamage.
This commit is contained in:
committed by
GitHub
parent
3292939756
commit
934f6fb7e2
@@ -43,7 +43,7 @@ namespace Content.Server.GameObjects
|
||||
|
||||
_secondsSinceLastDamageUpdate += frameTime;
|
||||
|
||||
Owner.TryGetComponent<DamageableComponent>(out DamageableComponent component);
|
||||
Owner.TryGetComponent(out DamageableComponent component);
|
||||
|
||||
while (_secondsSinceLastDamageUpdate >= 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user