Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
82e8f492fe
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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()