Fixed Chat Popup

This commit is contained in:
Cooldude2606
2019-02-19 18:51:31 +00:00
parent dded45fd33
commit 40fba42676

View File

@@ -32,6 +32,7 @@ function ChatPopup.sendFlyingText(player, text)
end
script.on_event(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
if not event.message then return end