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