For memory, the map code is :
Code: Select all
script.on_event(defines.events.on_rocket_launched, function(event)
(...)
if (#game.players <= 1) then
game.show_message_dialog{text = {"gui-rocket-silo.rocket-launched-without-satellite"}}
else
for index, player in pairs(force.players) do
player.print({"gui-rocket-silo.rocket-launched-without-satellite"})
end
end