mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Add newline
This commit is contained in:
parent
bacda3c2e8
commit
a5747a6145
1 changed files with 2 additions and 1 deletions
|
@ -1645,7 +1645,8 @@ if _G.__JECS_DEBUG then
|
||||||
|
|
||||||
World.add = function(world: World, entity: i53, id: i53, value: nil)
|
World.add = function(world: World, entity: i53, id: i53, value: nil)
|
||||||
if value ~= nil then
|
if value ~= nil then
|
||||||
local _1 = get_name(world, entity) local _2 = get_name(world, id)
|
local _1 = get_name(world, entity)
|
||||||
|
local _2 = get_name(world, id)
|
||||||
throw("You provided a value when none was expected. " .. `Did you mean to use "world:add({_1}, {_2})"`)
|
throw("You provided a value when none was expected. " .. `Did you mean to use "world:add({_1}, {_2})"`)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue