added player to parameters
This commit is contained in:
parent
a7adba22b1
commit
2d42fc4a82
@ -2,6 +2,6 @@ function onLoad()
|
||||
self.addContextMenuItem("Download", download)
|
||||
end
|
||||
|
||||
function download()
|
||||
Global.call('placeholder_download', { url = self.getGMNotes(), replace = self.guid })
|
||||
function download(_, playerColor)
|
||||
Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid })
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user