mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-14 20:11:27 +07:00
style fix, update roadmap
# Conflicts: # ROADMAP.md
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
## Backlog
|
||||
|
||||
- should set/assign/insert return a constructed component?
|
||||
- remove __evolved_defer/commit to __defer/commit indirect calls
|
||||
- enable/disable systems and phases
|
||||
- add optional immediate mode for systems
|
||||
- cached queries
|
||||
|
||||
@@ -4940,7 +4940,7 @@ __evolved_is_alive = function(chunk_or_entity)
|
||||
local entity = chunk_or_entity --[[@as evolved.entity]]
|
||||
|
||||
local entity_index = entity % 0x100000
|
||||
return __freelist_ids[entity_index] == chunk_or_entity
|
||||
return __freelist_ids[entity_index] == entity
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user