mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -80,9 +80,7 @@ local function research_res_n()
|
||||
end
|
||||
end
|
||||
|
||||
local max_start = math.max(1, #res.disp - 7)
|
||||
local start = math.clamp(current - 3, 1, max_start)
|
||||
return math.min(start, max_start)
|
||||
return math.clamp(current - 3, 1, math.max(1, #res.disp - 7))
|
||||
end
|
||||
|
||||
local function research_notification(event)
|
||||
|
||||
Reference in New Issue
Block a user