mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Merge pull request #858 from plague006/fix/onboarding
Fix onboarding for server
This commit is contained in:
commit
afc7995a10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user