More Exporter Patching

This commit is contained in:
Entrox-Licher 2024-03-21 10:14:37 -04:00
parent 532ae2ea8e
commit aded108fef

View File

@ -37,5 +37,5 @@ function onLoad()
end end
function buttonClick_download(_, playerColor) function buttonClick_download(_, playerColor)
Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid }) Global.call('placeholder_download', { url = self.getGMNotes(), player = playerColor and Player[playerColor] or nil, replace = self.guid })
end end