When sarcophagus is interacted with, explicitly tell player respawn point is set.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
1 parent
f8eb3cb378
commit
8f2083bd9f
1 file changed
+3
-2
+3
-2
@@ -3,8 +3,9 @@ extends Interactable
|
||||
func _on_interacted() -> void:
|
||||
#%OldComputer.open()
|
||||
|
||||
|
||||
%Player2D.spawn_point = global_position
|
||||
if %Player2D.spawn_point != global_position:
|
||||
%Player2D.spawn_point = global_position
|
||||
%OldComputer.printline(">> Respawn point set.")
|
||||
|
||||
var wanted_disk = %OldComputer.get_next_disk_num()
|
||||
if %Player2D.complete_objective("sarc"):
|
||||
|
||||
Reference in new issue
Block a user