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