This commit is contained in:
Thomas G 2022-06-28 18:35:05 +10:00
parent aaec429319
commit 5c11df48e7
1 changed files with 0 additions and 4 deletions

View File

@ -1307,10 +1307,6 @@ function Chat:Initialize()
-- NOTE: PlayerAdded only fires on the server, hence ChildAdded is used here
PlayersService.ChildAdded:connect(function()
Chat.EventListener:disconnect()
self.EventListener = PlayersService.PlayerChatted:connect(function(...)
-- This event has 4 callback arguments
-- Enum.PlayerChatType.All, chatPlayer, message, targetPlayer
Chat:PlayerChatted(...)
end)
end)