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>
|
type Id<T=any> = jecs.Id<any>
|
||||||
|
|
||||||
local function duplicate(query: jecs.Query<...any>): jecs.CachedQuery<...any>
|
local function duplicate(query: jecs.Query<...any>): jecs.Cached_Query<...any>
|
||||||
local world = (query :: jecs.Query<any> & { world: World }).world
|
local world = (query :: { world: World }).world
|
||||||
local dup = world:query()
|
local dup = world:query()
|
||||||
dup.filter_with = table.clone(query.filter_with)
|
dup.filter_with = table.clone(query.filter_with)
|
||||||
if query.filter_without then
|
if query.filter_without then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@rbxts/jecs",
|
"name": "@rbxts/jecs",
|
||||||
"version": "0.10.1",
|
"version": "0.10.2",
|
||||||
"description": "Stupidly fast Entity Component System",
|
"description": "Stupidly fast Entity Component System",
|
||||||
"main": "src/jecs.luau",
|
"main": "src/jecs.luau",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ukendio/jecs"
|
name = "ukendio/jecs"
|
||||||
version = "0.10.1"
|
version = "0.10.2"
|
||||||
registry = "https://github.com/UpliftGames/wally-index"
|
registry = "https://github.com/UpliftGames/wally-index"
|
||||||
realm = "shared"
|
realm = "shared"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue