mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix temperature bar color
This commit is contained in:
parent
f132955d9f
commit
c1e8b3dba9
@ -22,8 +22,8 @@ _temperature = [_player, _weapon, 0] call FUNC(updateTemperature);
|
||||
_scaledTemperature = (_temperature / 1000) min 1;
|
||||
|
||||
_color = [
|
||||
2 * (_scaledTemperature * 2) min 1,
|
||||
2 * (1 - (_scaledTemperature * 2)) min 1,
|
||||
2 * (_scaledTemperature * 2 min 1) min 1,
|
||||
2 * (1 - (_scaledTemperature * 2 min 1)) min 1,
|
||||
00
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user