mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-25 21:29:06 +02:00
Looting to discord
Forgot one line.
This commit is contained in:
parent
338cc2d26c
commit
1817953a78
@ -224,6 +224,7 @@ local function on_gui_opened(event)
|
||||
if corpse_owner.force.name ~= player.force.name then return end
|
||||
if player.name ~= corpse_owner.name then
|
||||
game.print(player.name .. " is looting " .. corpse_owner.name .. "´s body.", { r=0.85, g=0.85, b=0.85})
|
||||
server_commands.to_discord_bold(table.concat{player.name .. " is looting " .. corpse_owner.name .. "´s body."})
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user