Sets the brake temperature, potentially trigerring the glowing effect.
local brakeTempPressed, inputText = WarMenu.InputButton("Brake Temperature: ", "Temperature in C:", _inputText, 4,tostring(currentBrakeTemp)..'ºC')
if WarMenu.IsItemHovered() then
WarMenu.ToolTip('Press enter to input a value.',nil,true)
end
if brakeTempPressed then
if inputText then
if tonumber(inputText) == nil then
inputText = 25.0
end
dynamic:setBrakeTemp(inputText)
end
end