2
0
Эх сурвалжийг харах

Fixed Entity.AddComponent<T>() adding component twice.

Mark Sibly 7 жил өмнө
parent
commit
4d56ce4601

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

@@ -418,8 +418,6 @@ Class Entity Extends DynamicObject
 		
 		Local c:=New T( Self )
 		
-		AddComponent( c )
-		
 		Return c
 	End