diff --git a/addons/overheating/functions/fnc_setAmmoTemperature.sqf b/addons/overheating/functions/fnc_setAmmoTemperature.sqf index b999d609ac..87da003cc6 100644 --- a/addons/overheating/functions/fnc_setAmmoTemperature.sqf +++ b/addons/overheating/functions/fnc_setAmmoTemperature.sqf @@ -6,13 +6,13 @@ * Arguments: * 0: Unit * 1: Weapon - * 2: Temperature + * 2: Temperature * * Return Value: * None * * Example: - * [player, currentWeapon player] call ace_overheating_fnc_setAmmoTemperature + * [player, currentWeapon player, 123] call ace_overheating_fnc_setAmmoTemperature * * Public: Yes */ diff --git a/addons/overheating/functions/fnc_setWeaponTemperature.sqf b/addons/overheating/functions/fnc_setWeaponTemperature.sqf index 06e183f91f..be63ff479e 100644 --- a/addons/overheating/functions/fnc_setWeaponTemperature.sqf +++ b/addons/overheating/functions/fnc_setWeaponTemperature.sqf @@ -6,19 +6,19 @@ * Arguments: * 0: Unit * 1: Weapon - * 2: Temperature + * 2: Temperature * * Return Value: * None * * Example: - * [player, currentWeapon player] call ace_overheating_fnc_setWeaponTemperature + * [player, currentWeapon player, 123] call ace_overheating_fnc_setWeaponTemperature * * Public: Yes */ params ["_unit", "_weapon", "_temp"]; -private _ammoTempVarName = format [QGVAR(%1_ammoTemp), _weapon]; +private _weaponTempVarName = format [QGVAR(%1_temp), _weapon]; -_unit setVariable [_ammoTempVarName, _temp]; +_unit setVariable [_weaponTempVarName, _temp];