mirror of
https://github.com/Ukendio/jecs.git
synced 2026-03-18 00:44:32 +00:00
Update
This commit is contained in:
parent
f9764634e6
commit
9acec0e954
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue