This commit is contained in:
Ukendio 2026-02-20 11:57:15 +01:00
parent f9764634e6
commit 9acec0e954
3 changed files with 4 additions and 4 deletions

View file

@ -5,8 +5,8 @@ type World = jecs.World
type Id<T=any> = jecs.Id<any>
local function duplicate(query: jecs.Query<...any>): jecs.CachedQuery<...any>
local world = (query :: jecs.Query<any> & { world: World }).world
local function duplicate(query: jecs.Query<...any>): jecs.Cached_Query<...any>
local world = (query :: { world: World }).world
local dup = world:query()
dup.filter_with = table.clone(query.filter_with)
if query.filter_without then

View file

@ -1,6 +1,6 @@
{
"name": "@rbxts/jecs",
"version": "0.10.1",
"version": "0.10.2",
"description": "Stupidly fast Entity Component System",
"main": "src/jecs.luau",
"repository": {

View file

@ -1,6 +1,6 @@
[package]
name = "ukendio/jecs"
version = "0.10.1"
version = "0.10.2"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
license = "MIT"