mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Resolve all Luals warnings
This commit is contained in:
@@ -56,7 +56,14 @@ if config.decon_area then
|
||||
local items = e.surface.find_entities_filtered{ area = e.area, force = player.force }
|
||||
|
||||
if #items > 250 then
|
||||
print_to_players(true, { "deconlog.decon", player.name, e.surface.name, pos_to_gps_string(e.area.left_top), pos_to_gps_string(e.area.right_bottom), format_number(#items) })
|
||||
print_to_players(true, {
|
||||
"deconlog.decon",
|
||||
player.name,
|
||||
e.surface.localised_name,
|
||||
pos_to_gps_string(e.area.left_top),
|
||||
pos_to_gps_string(e.area.right_bottom),
|
||||
format_number(#items, false),
|
||||
})
|
||||
end
|
||||
|
||||
add_log(get_secs() .. "," .. player.name .. ",decon_area," .. e.surface.name .. "," .. pos_to_string(e.area.left_top) .. "," .. pos_to_string(e.area.right_bottom))
|
||||
|
||||
Reference in New Issue
Block a user