Skip to content

Commit

Permalink
fix(client/utils): cast target type
Browse files Browse the repository at this point in the history
Ignore undefined-field warnings.
  • Loading branch information
thelindat committed Aug 2, 2023
1 parent 2a560df commit e85a462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ CreateThread(function()
}
}

---@cast target table

if target.qt then
target.exp:Object({ options = options })
elseif target.qb then
Expand Down

0 comments on commit e85a462

Please sign in to comment.