mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-01-01 05:01:40 +09:00
ignore alt mode of decon event in log
This commit is contained in:
@@ -39,6 +39,10 @@ end)
|
|||||||
|
|
||||||
if config.decon_area then
|
if config.decon_area then
|
||||||
Event.add(defines.events.on_player_deconstructed_area, function (e)
|
Event.add(defines.events.on_player_deconstructed_area, function (e)
|
||||||
|
if e.alt then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local player = game.get_player(e.player_index)
|
local player = game.get_player(e.player_index)
|
||||||
if Roles.player_has_flag(player, "deconlog-bypass") then
|
if Roles.player_has_flag(player, "deconlog-bypass") then
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user