1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Merge pull request #375 from plague006/fix/player_create

Use player print not game print for on join messages
This commit is contained in:
Lynn 2018-11-17 16:57:29 +01:00 committed by GitHub
commit bbd201d2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,7 @@ local function player_created(event)
player.print('Welcome to this map created by the RedMew team. You can join our discord at: redmew.com/discord')
player.print('Click the question mark in the top left corner for server infomation and map details.')
game.print(table.get_random_weighted(join_msgs, 1, 2))
player.print(table.get_random_weighted(join_msgs, 1, 2))
local gui = player.gui
gui.top.style = 'slot_table_spacing_horizontal_flow'