From 93e267fda47721e92de431a3ec21798d232587d4 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 3 Apr 2024 18:26:33 +0200 Subject: [PATCH] bugfix for download function --- objects/EncounterSets.304ffc.json | 4 ++-- objects/EncounterSets.304ffc.ttslua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/objects/EncounterSets.304ffc.json b/objects/EncounterSets.304ffc.json index 229c5fdf..9e9b8af4 100644 --- a/objects/EncounterSets.304ffc.json +++ b/objects/EncounterSets.304ffc.json @@ -1,7 +1,7 @@ { "AltLookAngle": { - "x": 0, - "y": 0, + "x": 180, + "y": 180, "z": 0 }, "Autoraise": true, diff --git a/objects/EncounterSets.304ffc.ttslua b/objects/EncounterSets.304ffc.ttslua index 5211da94..e2d3a776 100644 --- a/objects/EncounterSets.304ffc.ttslua +++ b/objects/EncounterSets.304ffc.ttslua @@ -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