refactor(addCommand): send chat suggestions to correct source (#614)

This commit is contained in:
Malox
2024-07-12 23:51:32 +10:00
committed by GitHub
parent 7ecd7dc21f
commit 6ffc5afd0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ SetTimeout(1000, function()
TriggerClientEvent('chat:addSuggestions', -1, commands)
end)
AddEventHandler('playerJoining', function(source)
AddEventHandler('playerJoining', function()
TriggerClientEvent('chat:addSuggestions', source, commands)
end)