This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
gbjam12/scenes/end.gd

6 lines
104 B
GDScript

extends Area2D
func _on_body_entered(body):
if body is Player:
(body as Player).lock_for_end = true