function onLoad() self.addContextMenuItem("Download", download) end function download(_, playerColor) Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid }) end