very minor tweaks
This commit is contained in:
@@ -29,7 +29,6 @@ func close():
|
||||
|
||||
func interact():
|
||||
if !door_open:
|
||||
print("checking keys..." + str(level_control.keys))
|
||||
|
||||
var exit = false
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
extends Area3D
|
||||
|
||||
var is_climbing = false
|
||||
var ladder_center
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
ladder_center = self.global_position
|
||||
pass
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
@@ -15,7 +12,6 @@ func _process(delta):
|
||||
func _on_body_entered(body):
|
||||
if body.is_in_group("player"):
|
||||
body.is_climbing = true
|
||||
body.ladder_center = ladder_center
|
||||
|
||||
|
||||
func _on_body_exited(body):
|
||||
|
||||
Reference in New Issue
Block a user