mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -28,10 +28,12 @@ Selection.on_selection(SelectionName, function(event)
|
|||||||
local player = game.players[event.player_index]
|
local player = game.players[event.player_index]
|
||||||
local surface = event.surface
|
local surface = event.surface
|
||||||
|
|
||||||
|
--[[
|
||||||
if surface.planet and surface.planet ~= game.planets.nauvis then
|
if surface.planet and surface.planet ~= game.planets.nauvis then
|
||||||
player.print({ "exp-commands_waterfill.nauvis-only" }, Commands.print_settings.error)
|
player.print({ "exp-commands_waterfill.nauvis-only" }, Commands.print_settings.error)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
]]
|
||||||
|
|
||||||
local area_size = (area.right_bottom.x - area.left_top.x) * (area.right_bottom.y - area.left_top.y)
|
local area_size = (area.right_bottom.x - area.left_top.x) * (area.right_bottom.y - area.left_top.y)
|
||||||
if area_size > 1000 then
|
if area_size > 1000 then
|
||||||
|
|||||||
Reference in New Issue
Block a user