File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export class World {
135
135
* @param component Target Component
136
136
* @param data Component Data
137
137
*/
138
- set < T > ( entity : Entity , component : Id < T > , data : T ) : void ;
138
+ set < T > ( entity : Entity , component : Id < T > , data : NoInfer < T > ) : void ;
139
139
140
140
/**
141
141
* Removes a component from the given entity
Original file line number Diff line number Diff line change 687
687
local function archetype_traverse_remove (world : World , id : i53 , from : Archetype ): Archetype
688
688
from = from or world .ROOT_ARCHETYPE
689
689
690
- local edge = archetype_ensure_edge (world , from .node .add , id )
690
+ local edge = archetype_ensure_edge (world , from .node .remove , id )
691
691
692
692
local to = edge .to
693
693
if not to then
You can’t perform that action at this time.
0 commit comments