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