Covnerted Event and Global

This commit is contained in:
Cooldude2606 committed 2019-02-24 21:28:33 +00:00
1 parent fc279c42f8
commit 1cb2a3c3a0
35 files changed
+97 -78

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ function ChatPopup.sendFlyingText(player, text)
end
end
script.on_event(defines.events.on_console_chat, function(event)
Event.add(defines.events.on_console_chat, function(event)
if not event.player_index then return end
local player = game.players[event.player_index]
if not player then return end