Skip to content

Commit

Permalink
fix: bug de não spawnar após finalizar a whitelist e remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
mur4i committed Dec 25, 2024
1 parent 6319edd commit 9a97ff5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function beginExam()
local anwserPercentage = ((100 * correctAnswers) / #Config.Questions)
if anwserPercentage >= Config.Percent then
showAlertDialog(Config.SuccessHeader, Config.SuccessContent, false, "Jogar")
lib.callback.await("mri_Qwhitelist:Server:addCitizenship", false)
lib.callback.await("mri_Qwhitelist:Server:AddCitizenship", false)
else
showAlertDialog(Config.FailedHeader, Config.FailedContent, false, "Entendi")
end
Expand Down
1 change: 0 additions & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ lib.callback.register(
if not player then
return false
end
print('has player')

local status = RemoveCitizenship(player.PlayerData.citizenid, identifier)
if not status then
Expand Down

0 comments on commit 9a97ff5

Please sign in to comment.