Skip to content

Commit

Permalink
Merge pull request #3 from Mark-Marks/jabby
Browse files Browse the repository at this point in the history
fix: Systems were ran with task.spawn
  • Loading branch information
Mark-Marks authored Oct 6, 2024
2 parents 6bf04dd + f8c53dc commit ec9fd88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions crates/sapphire-jecs/lib/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ local RunService = game:GetService("RunService")
local is_client = RunService:IsClient()

local jabby = require(script.Parent.jabby)
local fast_spawn = require(script.Parent.spawn)
local jecs = require(script.Parent.jecs)
--- An i53, can be represented with an f64.
export type i53 = number
Expand Down Expand Up @@ -125,7 +124,7 @@ function SapphireJecs.extension()
end

jabby_scheduler:_mark_system_frame_start(id)
fast_spawn(system.run, ...)
system.run(...)
jabby_scheduler:_mark_system_frame_end(id)
end
end
Expand Down
4 changes: 1 addition & 3 deletions crates/sapphire-jecs/wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mark-marks/sapphire-jecs"
version = "0.2.0-rc.0"
version = "0.2.0-rc.1"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
license = "MIT"
Expand All @@ -16,7 +16,5 @@ include = [

[dependencies]
jecs_utils = "mark-marks/[email protected]"
signal = "red-blox/[email protected]"
spawn = "red-blox/[email protected]"
jecs = "ukendio/[email protected]"
jabby = "alicesaidhi/[email protected]"

0 comments on commit ec9fd88

Please sign in to comment.