mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Fix type error on World.add in debug mode
This commit is contained in:
parent
78127d73e9
commit
59abdcbe6f
1 changed files with 1 additions and 1 deletions
|
@ -1643,7 +1643,7 @@ if _G.__JECS_DEBUG then
|
|||
world_set(world, entity, id, value)
|
||||
end
|
||||
|
||||
World.add = function(world: World, entity: i53, id: i53, value: nil)
|
||||
World.add = function(world: World, entity: i53, id: i53, value: any)
|
||||
if value ~= nil then
|
||||
local _1 = get_name(world, entity)
|
||||
local _2 = get_name(world, id)
|
||||
|
|
Loading…
Reference in a new issue