fixed glich, where you'd get stuck below when you've missed your chance at going up with the ladder
This commit is contained in:
parent
1b920030f4
commit
18eeea5539
|
|
@ -497,7 +497,8 @@ var risen:bool = false
|
|||
var start_position:Vector3 = position
|
||||
|
||||
func raise(_discard):
|
||||
if not risen:
|
||||
if risen:
|
||||
position = start_position
|
||||
var raiser = create_tween()
|
||||
raiser.tween_property(self, \"position\", position + Vector3(0,1.1,0), 1)
|
||||
risen = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue