bugfix for download function

This commit is contained in:
Chr1Z93 2024-04-03 18:26:33 +02:00
parent 5eb5b1e840
commit 93e267fda4
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"x": 180,
"y": 180,
"z": 0
},
"Autoraise": true,

View File

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