When sarcophagus is interacted with, explicitly tell player respawn point is set.
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
yagigreg committed 2026-10-17 23:18:50 -05:00
1 parent f8eb3cb378
commit 8f2083bd9f
1 file changed
+2 -1
+2 -1
View File
@@ -3,8 +3,9 @@ extends Interactable
func _on_interacted() -> void: func _on_interacted() -> void:
#%OldComputer.open() #%OldComputer.open()
if %Player2D.spawn_point != global_position:
%Player2D.spawn_point = global_position %Player2D.spawn_point = global_position
%OldComputer.printline(">> Respawn point set.")
var wanted_disk = %OldComputer.get_next_disk_num() var wanted_disk = %OldComputer.get_next_disk_num()
if %Player2D.complete_objective("sarc"): if %Player2D.complete_objective("sarc"):