Skip to content

Commit

Permalink
return 0 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio committed Nov 13, 2024
1 parent b9e0b74 commit ce2a9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ local function entity_index_get_alive(index: EntityIndex, e: i24): i53
if r then
return index.dense_array[r.dense]
end
error("Invalid entity")
return 0
end

local function entity_index_is_alive(entity_index: EntityIndex, entity: number)
Expand Down

0 comments on commit ce2a9e0

Please sign in to comment.