From aded108fef4864ee6ff2e2ad3c78e10c976c5984 Mon Sep 17 00:00:00 2001 From: Entrox-Licher Date: Thu, 21 Mar 2024 10:14:37 -0400 Subject: [PATCH] More Exporter Patching --- src/core/DownloadBox.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/DownloadBox.ttslua b/src/core/DownloadBox.ttslua index 27c8b1eb..21957367 100644 --- a/src/core/DownloadBox.ttslua +++ b/src/core/DownloadBox.ttslua @@ -37,5 +37,5 @@ function onLoad() end function buttonClick_download(_, playerColor) - Global.call('placeholder_download', { url = self.getGMNotes(), player = Player[playerColor], replace = self.guid }) + Global.call('placeholder_download', { url = self.getGMNotes(), player = playerColor and Player[playerColor] or nil, replace = self.guid }) end