Chelimbalo/scripts/weapon_system/bomb/bomb_dropper.gd
2025-11-30 00:15:42 +05:00

9 lines
187 B
GDScript

extends Node
func _ready() -> void:
if get_parent().player == null: return
get_parent().player.died.connect(on_death)
func on_death() -> void:
get_parent().system.drop_slot("bomb")