From 7040c0e09d590b318a4a843cf645c960efee276c Mon Sep 17 00:00:00 2001 From: CactiChameleon9 Date: Fri, 29 Jul 2022 21:30:52 +0100 Subject: [PATCH] Remove uneeded self vairable from remove_card signal --- UI/Card.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Card.gd b/UI/Card.gd index 2b8abd8..390ab85 100644 --- a/UI/Card.gd +++ b/UI/Card.gd @@ -5,7 +5,7 @@ signal return_dice(dice_number) signal do_movement(movement_range) signal do_damage(damage, damage_range) signal do_effect(effect, effect_range) -signal card_removed(card_self) +signal card_removed() export (Resource) var card_info = preload("res://Assets/CardDB/Default.tres") @@ -138,6 +138,6 @@ func run_card(): input_dice = [] #card is used, disappear - emit_signal("card_removed", self) + emit_signal("card_removed") queue_free()