فهرست منبع

Merge pull request #4 from neikeq/pr-issue-princess

Fix bug that could prevent cubio from saving the princess
Rémi Verschelde 9 سال پیش
والد
کامیت
aae4e30162
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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()