mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -144,7 +144,7 @@ local function research_gui_update()
|
||||
|
||||
else
|
||||
data.attempt = research_time_format(research.time[res_i])
|
||||
local diff = (research.time[res_i] or 0) - (entry.target or 0)
|
||||
local diff = research.time[res_i] - (entry.target or 0)
|
||||
data.difference = (diff < 0 and "-" or "") .. research_time_format(math.abs(diff))
|
||||
data.color = (diff < 0 and font_color["positive"]) or font_color["negative"]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user