-- Automatically installs user-added maps on server start.
-- 
-- ForbiddenJ


LogHolder = require(game.ServerScriptService.LogHolder)

MapWorkspace = workspace.MapWorkspace
OwnerMapInstallFolder = game.ServerStorage.Maps

function InstallMap(map)
	local success, messages = script.Parent.InstallMap:Invoke(map)
	local log = LogHolder.new()
	log:BulkLog(messages)
	log:SendToServerLog()