evaera / matter

A modern ECS library for Roblox.
https://eryn.io/matter/
MIT License
144 stars 34 forks source link

Handle case where priority of a system is earlier than systems defined in after #53

Closed metrowaii closed 1 year ago

metrowaii commented 1 year ago

Currently systems with a priority earlier than systems defined in "after" cause a failure in the system ordering function. In the example below the system "calculateLevelBasedOnSteps" is set to a priority of 7. The system "calculateWalkSpeedForPlayers" has a default priority of 0. image image