Răsfoiți Sursa

3D Import Import & UDP
-=-=-=-=-=-=-=-=-=-=-

-Animation Import filter support
-Animation Clip import support
-Animation Optimizer Fixes, Improvements and Visibile Options
-Extremely Experimental UDP support.

Juan Linietsky 10 ani în urmă
părinte
comite
82e8f492fe
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      2d/shower_of_bullets/bullets.gd

+ 2 - 2
2d/shower_of_bullets/bullets.gd

@@ -65,9 +65,9 @@ func _ready():
 	
 func _exit_tree():
 	for b in bullets:
-		Physics2DServer.free(b.body)
+		Physics2DServer.free_rid(b.body)
 	
-	Physics2DServer.free(shape)
+	Physics2DServer.free_rid(shape)
 	# Initalization here
 	bullets.clear()