Adjusted temperature display (red above 600°C)

This commit is contained in:
ulteq 2015-04-27 21:39:36 +02:00 committed by PabstMirror
parent a1ee99cc8a
commit 4122d68684

View File

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