Browse Source

Entity now calls Destroyed() when destroyed.

Mark Sibly 8 years ago
parent
commit
2d5034b32d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/mojo3d/graphics/entity.monkey2

+ 2 - 0
modules/mojo3d/graphics/entity.monkey2

@@ -422,6 +422,8 @@ Class Entity
 		_parent=Null
 		
 		_scene=Null
+		
+		Destroyed()
 	End
 	
 	#rem monkeydoc Sets entity position in local or world space.