Browse Source

Fix bug that could prevent cubio from saving the princess

Ignacio Etcheverry 9 years ago
parent
commit
dd739668b4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      3d/kinematic_char/cubio.gd

+ 2 - 1
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()