1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-07-13 01:20:19 +02:00

Merge pull request #858 from plague006/fix/onboarding

Fix onboarding for server
This commit is contained in:
Matthew
2019-03-04 16:29:08 -05:00
committed by GitHub

View File

@ -86,6 +86,10 @@ end
-- This will also gives us a measure of how many players engage in chat in a map.
local function on_player_chat(event)
local player_index = event.player_index
if not player_index then
return
end
local player = Game.get_player_by_index(player_index)
if not player or not player.valid then
return