Skip to content

Commit

Permalink
fix: bug de duplicar target
Browse files Browse the repository at this point in the history
  • Loading branch information
mur4i committed Dec 26, 2024
1 parent 9a97ff5 commit 8bb1f52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function loadCitizenship()
if Config.Interaction.Type == "marker" then
Marker:LoadInteractions({callbackFunction = beginExam})
elseif Config.Interaction.Type == "target" then
if Target.TargetId then return end
Target:LoadInteractions({callbackFunction = beginExam})
elseif Config.Interaction.Type == "3dtext" then
Text:LoadInteractions({callbackFunction = beginExam})
Expand Down

0 comments on commit 8bb1f52

Please sign in to comment.