From 2fd312c651a954c4b19a8d3cd1c4d2257eea8ea3 Mon Sep 17 00:00:00 2001 From: Entrox-Licher Date: Sat, 26 Aug 2023 17:39:52 -0400 Subject: [PATCH] Fix variable typo --- src/core/PlayAreaSelector.ttslua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/PlayAreaSelector.ttslua b/src/core/PlayAreaSelector.ttslua index e5958102..84749458 100644 --- a/src/core/PlayAreaSelector.ttslua +++ b/src/core/PlayAreaSelector.ttslua @@ -1,5 +1,5 @@ local controlActive = false -local playAreaAPI = require("core/PlayAreaApi") +local playAreaApi = require("core/PlayAreaApi") -- parameters for open/close button for reusing local buttonParameters = {} @@ -62,11 +62,11 @@ end -- click function for apply button function click_applySurface(_, _, isRightClick) - playAreaAPI.updateSurface(isRightClick and "" or self.getInputs()[1].value) + playAreaApi.updateSurface(isRightClick and "" or self.getInputs()[1].value) end function updateSurface(newURL) - playAreaAPI.updateSurface(newURL) + playAreaApi.updateSurface(newURL) end -- input function for the input box