bugfix for download function
This commit is contained in:
parent
5eb5b1e840
commit
93e267fda4
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"AltLookAngle": {
|
"AltLookAngle": {
|
||||||
"x": 0,
|
"x": 180,
|
||||||
"y": 0,
|
"y": 180,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"Autoraise": true,
|
"Autoraise": true,
|
||||||
|
@ -2,6 +2,6 @@ function onLoad()
|
|||||||
self.addContextMenuItem("Download", download)
|
self.addContextMenuItem("Download", download)
|
||||||
end
|
end
|
||||||
|
|
||||||
function download(_, playerColor)
|
function download(playerColor)
|
||||||
Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid })
|
Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid })
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user