mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Fix indent
This commit is contained in:
parent
81acedd56c
commit
f3de3a5367
1 changed files with 4 additions and 2 deletions
|
@ -57,7 +57,7 @@ type ArchetypeDiff = {
|
|||
removed: Ty,
|
||||
}
|
||||
|
||||
local HI_COMPONENT_ID = 256
|
||||
local HI_COMPONENT_ID = 256
|
||||
|
||||
local EcsOnAdd = HI_COMPONENT_ID + 1
|
||||
local EcsOnRemove = HI_COMPONENT_ID + 2
|
||||
|
@ -441,7 +441,9 @@ local function id_record_ensure(world: World, id: number): ArchetypeMap
|
|||
flags = bit32.bor(flags, ECS_ID_DELETE)
|
||||
end
|
||||
|
||||
if world_has_any(world, relation, EcsOnAdd, EcsOnSet, EcsOnRemove) then
|
||||
if world_has_any(world, relation,
|
||||
EcsOnAdd, EcsOnSet, EcsOnRemove)
|
||||
then
|
||||
flags = bit32.bor(flags, ECS_ID_HAS_HOOKS)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue