diff --git a/src/core/CustomDataHelper.ttslua b/src/core/CustomDataHelper.ttslua index 63742976..22bc3096 100644 --- a/src/core/CustomDataHelper.ttslua +++ b/src/core/CustomDataHelper.ttslua @@ -1,12 +1,3 @@ --- set true to enable debug logging -DEBUG = false - -function log(message) - if DEBUG then - print(message) - end -end - --[[ Known locations and clues. We check this to determine if we should atttempt to spawn clues, first we look for _ and if diff --git a/src/core/DataHelper.ttslua b/src/core/DataHelper.ttslua index bbb584bf..5845b09b 100644 --- a/src/core/DataHelper.ttslua +++ b/src/core/DataHelper.ttslua @@ -1,12 +1,3 @@ --- set true to enable debug logging -DEBUG = false - -function log(message) - if DEBUG then - print(message) - end -end - -- data for difficulty selector scripts to set up chaos bag modeData = { ['Core Set'] = { @@ -493,13 +484,11 @@ modeData = { function onSave() local globalState = JSON.encode(SPAWNED_PLAYER_CARD_GUIDS) - log('saving global state: ' .. globalState) return globalState end function onLoad(save_state) if save_state ~= '' then - log('loading global state: ' .. save_state) SPAWNED_PLAYER_CARD_GUIDS = JSON.decode(save_state) else SPAWNED_PLAYER_CARD_GUIDS = {} diff --git a/src/core/PlayArea.ttslua b/src/core/PlayArea.ttslua index 54e09d5a..69cbba2c 100644 --- a/src/core/PlayArea.ttslua +++ b/src/core/PlayArea.ttslua @@ -2,9 +2,6 @@ -- general setup --------------------------------------------------------- --- set true to enable debug logging -local DEBUG = false - -- Location connection directional options local BIDIRECTIONAL = 0 local ONE_WAY = 1 @@ -78,14 +75,10 @@ function onLoad(saveState) locations = save.trackedLocations or { } currentScenario = save.currentScenario - self.interactable = DEBUG + self.interactable = false Wait.time(function() collisionEnabled = true end, 1) end -function log(message) - if DEBUG then print(message) end -end - -- Called by Custom Data Helpers to push their location data into the Data Helper. This adds the -- data to the local token manager instance. ---@param args Table Single-value array holding the GUID of the Custom Data Helper making the call