Pārlūkot izejas kodu

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

Mark Sibly 7 gadi atpakaļ
vecāks
revīzija
4d56ce4601
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      modules/mojo3d/scene/entity.monkey2

+ 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