Changed loggin to only log when enabled with logPrint function

This commit is contained in:
bizcochito
2022-02-07 09:36:16 +01:00
parent 75b7aad1e6
commit 89c12b4a0b
4 changed files with 10 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ function interfaceDialog:checkConfirm()
if love.mouse.isDown(1) then
self.clicked = true
self.value = self.value + 1
print(self.value.." of "..self.target_value)
logPrint(self.value.." of "..self.target_value)
self:updateContents()
end
elseif not love.mouse.isDown(1) then