Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Nov 16, 2023
1 parent aab237c commit 4c21db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ else
if netIdExsist then return netIdExsist end
end, ('statebag timed out while awaiting entity creation! (%s)'):format(bagName), 10000)

local entity = idExsist and NetworkGetEntityFromNetworkId(netId) or 0
local entity = idExist and NetworkGetEntityFromNetworkId(netId) or 0

if entity == 0 then
lib.print.error(('statebag received invalid entity! (%s)'):format(bagName))
Expand Down

0 comments on commit 4c21db0

Please sign in to comment.