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
Raw Permalink Normal View History

2024-09-22 18:12:16 +03:00
extends Area2D
func _on_body_entered(body):
if body is Player:
(body as Player).lock_for_end = true