Sound.PlaySound(g_ActionButtonSound) if(not ExistsActor("Fade")) then CreateActor("ActorGeom", { name = "Fade", model = "menu/fade_to_black.mesh", layer = LF_PANELS+4 }) end SetActorAnim("Fade", { anim = "menu/fade_black_from_0_to_1_15f.anm", loop = false, }) SetActorAnim("Menu", { anim = "menu/main_options.anm", loop = false, }) EnqueueExecuteScript("Fade", "execute('menu/options.lua')") if(currentMenuScreen ~= nil) then currentMenuScreen:postFreeScreenResources() end currentMenuScreen = TOptionsMenuScreen:new() currentMenuScreen:resetScreen()