ignore alt mode of decon event in log

This commit is contained in:
2023-09-25 14:21:44 +09:00
committed by GitHub
parent de6f3793b6
commit 40d409dabd

View File

@@ -39,6 +39,10 @@ end)
if config.decon_area then
Event.add(defines.events.on_player_deconstructed_area, function (e)
if e.alt then
return
end
local player = game.get_player(e.player_index)
if Roles.player_has_flag(player, "deconlog-bypass") then
return