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

Merge pull request #690 from plague006/name_change_notice

Tell players how to change name in SP
This commit is contained in:
Matthew 2019-01-27 15:24:18 -05:00 committed by GitHub
commit b9be14ccf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,10 @@ local function player_created(event)
end
end
if not game.is_multiplayer() and not _DEBUG then
player.print('To change your name in single-player, open chat and type the following /c game.player.name = "your_name"')
end
if _DEBUG and player.admin then
UserGroups.add_regular(player.name)
end