Renamed damage instance
This commit is contained in:
@ -4,4 +4,4 @@ func on_body_entered(body: Node3D):
|
||||
var health := body.get_node_or_null("Health") as HealthComponent
|
||||
|
||||
if health:
|
||||
health.take_damage(DamageInstance.new(100))
|
||||
health.take_damage(Hit.new(100))
|
Reference in New Issue
Block a user