From b322f58a70dd2a4c54f3426ab8c6a97e47b014a2 Mon Sep 17 00:00:00 2001 From: Linventif Date: Sat, 24 May 2025 17:28:50 +0000 Subject: [PATCH] fix: token not send to client --- lua/gmod_integration/core/security/sv_tokens.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gmod_integration/core/security/sv_tokens.lua b/lua/gmod_integration/core/security/sv_tokens.lua index 5ea56ac..665506e 100644 --- a/lua/gmod_integration/core/security/sv_tokens.lua +++ b/lua/gmod_integration/core/security/sv_tokens.lua @@ -37,5 +37,5 @@ function gmInte.sendPlayerToken(ply) end) end -hook.Add("gmInte:PlayerReady", "gmInte:Verif:PlayerReady", function(ply) gmInte.sendPlayerToken(ply) end) +hook.Add("gmInte:PlayerReady", "gmInte:PlayerReady:SendToken", function(ply) gmInte.sendPlayerToken(ply) end) hook.Add("Initialize", "gmInte:Server:Initialize:GetPublicToken", function() timer.Simple(1, function() gmInte.getPublicServerToken(function(publicToken) gmInte.log("Server Public Token Received: " .. publicToken) end) end) end) \ No newline at end of file