Rooms can now be locked down and open when all enemies are killed
This commit is contained in:
@@ -65,3 +65,9 @@ func _physics_process(delta):
|
||||
ray.get_collider().breaking(current_velocity)
|
||||
|
||||
queue_free()
|
||||
|
||||
|
||||
func _on_body_entered(body: Node) -> void:
|
||||
if !body.is_in_group("player"):
|
||||
await get_tree().create_timer(.1).timeout
|
||||
mesh.visible = false
|
||||
|
||||
Reference in New Issue
Block a user