From d09ccabd0492404fa9552a9db3d5280c9e8edbb7 Mon Sep 17 00:00:00 2001 From: Nathan Lovato Date: Sun, 25 Aug 2019 16:05:01 +0200 Subject: [PATCH] Change type of the variable to State --- game/src/Main/StateMachine/State.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game/src/Main/StateMachine/State.gd b/game/src/Main/StateMachine/State.gd index 8705040..c75db62 100644 --- a/game/src/Main/StateMachine/State.gd +++ b/game/src/Main/StateMachine/State.gd @@ -9,8 +9,7 @@ Use State as a child of a StateMachine node. onready var _state_machine: = _get_state_machine(self) - -var _parent: Node = null +var _parent: State = null func _ready() -> void: