This commit is contained in:
2025-04-13 00:13:17 +09:00
parent 7b7effd6ab
commit bd8c2c19c0
2 changed files with 2 additions and 2 deletions

View File

@@ -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