mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-22 15:33:12 +09:00
ignore alt mode of decon event in log
This commit is contained in:
1 parent
de6f3793b6
commit
40d409dabd
1 file changed
+4
@@ -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