local map = ...

-- If any of these events fire at all, the teletransporter on map 1 was
-- correctly recognized as a top "_side" teletransporter and the scrolling
-- transition completed instead of the engine dying (#2021). The old code
-- died in C++ (Debug::die("Invalid destination side") or
-- SOLARUS_REQUIRE("Destination side was not set")) before this map's Lua
-- script ever got to run.

function map:on_started()

  sol.main.exit()
end
