Skip to content

Commit f57303c

Browse files
committed
Fix missing return values
1 parent 64e3cc5 commit f57303c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

KillTrack.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ end
655655
---@return integer killsPerHour
656656
---@return integer killsThisSession
657657
function KT:GetSessionStats()
658-
if not self.Session.Start then return 0, 0, 0 end
658+
if not self.Session.Start then return 0, 0, 0, 0 end
659659
local now = time()
660660
local session = now - self.Session.Start
661661
local kps = session == 0 and 0 or self.Session.Count / session

Timer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ end
104104
---@param data { [any]: any }?
105105
---@return boolean
106106
function T:Start(seconds, minutes, hours, callback, data)
107-
if self.Running then return end
107+
if self.Running then return false end
108108
self.Running = true
109109
self:Reset()
110110
seconds = tonumber(seconds) or 0

0 commit comments

Comments
 (0)