mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Adjusted temperature display (red above 600°C)
This commit is contained in:
parent
a1ee99cc8a
commit
4122d68684
@ -19,7 +19,7 @@ private ["_temperature", "_scaledTemperature", "_color", "_count", "_string", "_
|
||||
|
||||
// Calculate cool down of weapon since last shot
|
||||
_temperature = [_player, _weapon, 0] call FUNC(updateTemperature);
|
||||
_scaledTemperature = (_temperature / 1000) min 1;
|
||||
_scaledTemperature = (_temperature / 600) min 1;
|
||||
|
||||
_color = [
|
||||
2 * _scaledTemperature min 1,
|
||||
|
Loading…
Reference in New Issue
Block a user