This commit is contained in:
2023-11-20 20:26:04 +09:00
committed by GitHub
parent 94a2babf0a
commit 12cd9f8033

View File

@@ -38,7 +38,7 @@ Selection.on_selection(SelectionConvertArea, function(event)
local player = game.get_player(event.player_index)
local entities = player.surface.find_entities_filtered{area=area, name='steel-chest'}
if #entities == 0 then
player.print('No steel chest found')
return