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

Use player print not game print for on join messages

This commit is contained in:
Matthew Heguy 2018-11-17 09:46:14 -05:00
parent 4e34d33dcd
commit a76175ad97

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'