This commit is contained in:
2025-01-11 22:10:26 +09:00
parent 6bcd3bc641
commit c9700414c7

View File

@@ -28,10 +28,12 @@ Selection.on_selection(SelectionName, function(event)
local player = game.players[event.player_index]
local surface = event.surface
--[[
if surface.planet and surface.planet ~= game.planets.nauvis then
player.print({ "exp-commands_waterfill.nauvis-only" }, Commands.print_settings.error)
return
end
]]
local area_size = (area.right_bottom.x - area.left_top.x) * (area.right_bottom.y - area.left_top.y)
if area_size > 1000 then