mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-10 08:42:11 +01:00
Fix turn panel.
This commit is contained in:
parent
74038429b7
commit
cb987df446
@ -13,11 +13,15 @@ var last_pointer_position : Vector2 = Vector2()
|
||||
|
||||
var currentPointerIDX = INACTIVE_IDX;
|
||||
|
||||
var listener : Entity = null
|
||||
var listener : Node = null
|
||||
|
||||
func _ready():
|
||||
parent = get_node("..")
|
||||
listener = get_node(listenerNodePath) as Entity
|
||||
listener = get_node(listenerNodePath)
|
||||
|
||||
if listener != null:
|
||||
if not listener.has_method("queue_camera_rotation"):
|
||||
listener = null
|
||||
|
||||
set_process_input(true)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user