Update 9
This commit is contained in:
parent
aaec429319
commit
5c11df48e7
|
|
@ -1307,10 +1307,6 @@ function Chat:Initialize()
|
||||||
-- NOTE: PlayerAdded only fires on the server, hence ChildAdded is used here
|
-- NOTE: PlayerAdded only fires on the server, hence ChildAdded is used here
|
||||||
PlayersService.ChildAdded:connect(function()
|
PlayersService.ChildAdded:connect(function()
|
||||||
Chat.EventListener:disconnect()
|
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)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue