summaryrefslogtreecommitdiff
path: root/Towers/Components/BurnComponent.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Towers/Components/BurnComponent.gd')
-rw-r--r--Towers/Components/BurnComponent.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Towers/Components/BurnComponent.gd b/Towers/Components/BurnComponent.gd
index 11e9e3f..96c24f7 100644
--- a/Towers/Components/BurnComponent.gd
+++ b/Towers/Components/BurnComponent.gd
@@ -8,4 +8,5 @@ func _init() -> void:
func on_shoot(target: Unit):
var effect = preload("res://Effects/BurnEffect.tscn").instantiate()
+ effect.level = level
target.add_effect(effect)