fixed missing parameter

This commit is contained in:
Chr1Z93 2024-02-19 16:01:23 +01:00
parent 34825a42ee
commit 7c2bfc36e4

View File

@ -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