From dd739668b47d096b21ded08f8a40f40baaed644d Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 21 Jun 2016 21:50:34 +0200 Subject: [PATCH] Fix bug that could prevent cubio from saving the princess --- 3d/kinematic_char/cubio.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/3d/kinematic_char/cubio.gd b/3d/kinematic_char/cubio.gd index 769ada3b..b850b5ad 100644 --- a/3d/kinematic_char/cubio.gd +++ b/3d/kinematic_char/cubio.gd @@ -83,4 +83,5 @@ func _ready(): func _on_tcube_body_enter(body): - get_node("../ty").show() + if (body == self): + get_node("../ty").show()