mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-22 03:38:48 +02:00
Use to_discord_bold to be consistent
This commit is contained in:
parent
038f97d8ab
commit
53082d19c2
@ -312,7 +312,7 @@ function join_team(player, force_name, forced_join)
|
|||||||
if global.tm_custom_name[player.force.name] then c = global.tm_custom_name[player.force.name] end
|
if global.tm_custom_name[player.force.name] then c = global.tm_custom_name[player.force.name] end
|
||||||
local message = table.concat({player.name, " has joined team ", c, "!"})
|
local message = table.concat({player.name, " has joined team ", c, "!"})
|
||||||
game.print(message, {r = 0.98, g = 0.66, b = 0.22})
|
game.print(message, {r = 0.98, g = 0.66, b = 0.22})
|
||||||
Server.to_discord(message)
|
Server.to_discord_bold(message)
|
||||||
end
|
end
|
||||||
local i = player.get_inventory(defines.inventory.character_main)
|
local i = player.get_inventory(defines.inventory.character_main)
|
||||||
i.clear()
|
i.clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user