pull NOOP out of fn

This commit is contained in:
kurokuukyo 2026-04-20 20:13:39 -04:00
parent b954588b0e
commit 681065e3e7

View file

@ -3310,9 +3310,9 @@ local function world_new(DEBUG: boolean?)
ECS_PAIR_SECOND(nth)) ECS_PAIR_SECOND(nth))
end end
local function world_targets(world: world, entity: i53, relation: i53): () -> i53? local NOOP = NOOP :: () -> i53
local NOOP = NOOP :: () -> i53
local function world_targets(world: world, entity: i53, relation: i53): () -> i53?
local record = entity_index_try_get_unsafe(entity) local record = entity_index_try_get_unsafe(entity)
if not record then if not record then
return NOOP return NOOP