1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

Update antigrief.lua

Removed [Decon] from getting send to discord, it spams it like crazy.
This commit is contained in:
Gerkiz 2019-03-29 17:34:57 +01:00 committed by GitHub
parent 0bf64eae7a
commit 4ba986e421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,6 @@ local function on_marked_for_deconstruction(event)
if playtime < 2592000 then
event.entity.cancel_deconstruction(game.players[event.player_index].force.name)
player.print("You have not grown accustomed to this technology yet.", { r=0.22, g=0.99, b=0.99})
server_commands.to_discord_bold(table.concat{'[Decon] ' .. player.name .. ' tried to deconstruct something!'})
end
end