mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-30 04:30:58 +02:00
Merge pull request #690 from plague006/name_change_notice
Tell players how to change name in SP
This commit is contained in:
commit
b9be14ccf5
@ -56,6 +56,10 @@ local function player_created(event)
|
|||||||
end
|
end
|
||||||
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
|
if _DEBUG and player.admin then
|
||||||
UserGroups.add_regular(player.name)
|
UserGroups.add_regular(player.name)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user