prototype vibe
This commit is contained in:
@@ -14,8 +14,6 @@ func _on_entity_died(entity: Node) -> void:
|
||||
var gate: Node3D = GATE_SCENE.instantiate()
|
||||
entity.get_parent().add_child(gate)
|
||||
gate.global_position = pos
|
||||
for enemy in get_tree().get_nodes_in_group("enemies"):
|
||||
if is_instance_valid(enemy):
|
||||
enemy.queue_free()
|
||||
gate.dungeon_variant = entity.stats.variant
|
||||
EventBus.portal_defeated.emit(entity)
|
||||
entity.queue_free()
|
||||
|
||||
Reference in New Issue
Block a user