Merge pull request #642 from argonui/encounter-sets

Bugfix for encounter set download function
This commit is contained in:
Entrox-Licher 2024-04-06 14:54:22 -04:00 committed by GitHub
commit 6535091be9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

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

View File

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