diff --git a/src/core/DownloadBox.ttslua b/src/core/DownloadBox.ttslua index fae4490b..27c8b1eb 100644 --- a/src/core/DownloadBox.ttslua +++ b/src/core/DownloadBox.ttslua @@ -36,6 +36,6 @@ function onLoad() self.createButton(buttonParameters) end -function buttonClick_download() - Global.call('placeholder_download', { url = self.getGMNotes(), replace = self.guid }) +function buttonClick_download(_, playerColor) + Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid }) end