mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-18 03:21:36 +02:00
message on join - fix that player names were missing
This commit is contained in:
parent
fae09298fb
commit
959018aca2
@ -19,8 +19,7 @@ local fetch =
|
||||
return
|
||||
end
|
||||
if type(value) == 'table' then
|
||||
local message = string.gsub(value.msg, "{name}", player.name)
|
||||
game.print(message, value.color)
|
||||
game.print('>> ' .. player.name .. ' << ' .. value.msg, value.color) -- we want the player name to be printed.
|
||||
end
|
||||
end
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user