spike works

This commit is contained in:
zozieee committed 2026-10-17 00:00:16 -05:00
1 parent 91a9c84516
commit 7be94fc483
1 file changed
+3
+3
View File
@@ -10,5 +10,8 @@ func _ready() -> void:
func _process(delta: float) -> void: func _process(delta: float) -> void:
pass pass
func on_contact(body: Node2D) -> void: func on_contact(body: Node2D) -> void:
if body==%Player2D:
print("SLASH KILL")
get_tree().reload_current_scene()
print(body) print(body)