mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 21:01:39 +09:00
🐛 workflow fix?
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
--- This config controls whether actions such as deconning by players without sufficient permissions is logged or not
|
||||||
-- @config Deconlog
|
-- @config Deconlog
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ Event.on_init(function()
|
|||||||
game.write_file(filepath, "\n", false, 0) -- write data
|
game.write_file(filepath, "\n", false, 0) -- write data
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if cofnig.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)
|
||||||
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 return end
|
if Roles.player_has_flag(player, "deconlog-bypass") then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user