Merge pull request #642 from argonui/encounter-sets
Bugfix for encounter set download function
This commit is contained in:
commit
6535091be9
@ -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