Remove uneeded self vairable from remove_card signal
This commit is contained in:
parent
4f89e06066
commit
7040c0e09d
@ -5,7 +5,7 @@ signal return_dice(dice_number)
|
|||||||
signal do_movement(movement_range)
|
signal do_movement(movement_range)
|
||||||
signal do_damage(damage, damage_range)
|
signal do_damage(damage, damage_range)
|
||||||
signal do_effect(effect, effect_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")
|
export (Resource) var card_info = preload("res://Assets/CardDB/Default.tres")
|
||||||
|
|
||||||
@ -138,6 +138,6 @@ func run_card():
|
|||||||
input_dice = []
|
input_dice = []
|
||||||
|
|
||||||
#card is used, disappear
|
#card is used, disappear
|
||||||
emit_signal("card_removed", self)
|
emit_signal("card_removed")
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user