Fixed bug with front door placement
This commit is contained in:
@@ -159,7 +159,7 @@ class ObjectiveWalkto extends QuestObjective:
|
||||
return save_data
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
set_process(false)
|
||||
|
||||
|
||||
func check_trigger(t):
|
||||
@@ -201,13 +201,15 @@ func create_objective(v):
|
||||
var o_title = v[1]
|
||||
var o_desc = v[2]
|
||||
var o_radius = v[3]
|
||||
var where = global.exit_door.global_transform.origin
|
||||
var where = global.interior.exit_doors[0].global_transform.origin
|
||||
var obj = ObjectiveWalkto.new(o_title, o_desc, where, o_radius)
|
||||
return obj
|
||||
return null
|
||||
|
||||
var up_time = 0.0
|
||||
var state: int = 0
|
||||
func activate():
|
||||
set_process(true)
|
||||
func _process(delta):
|
||||
up_time += delta
|
||||
if up_time > 1000.0:
|
||||
|
||||
Reference in New Issue
Block a user