Skip to content

Commit

Permalink
Overheating - Set ammo to ambientTemperature on reload (#10320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drofseh authored Sep 17, 2024
1 parent 8e15525 commit a8302ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/overheating/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (hasInterface) then {
["CAManBase", "Reloaded", {
params ["_unit", "_weapon", "_muzzle"];
if (_muzzle == _weapon) then {
_unit setVariable [format [QGVAR(%1_ammoTemp), _weapon], 0];
_unit setVariable [format [QGVAR(%1_ammoTemp), _weapon], ambientTemperature select 0];
};
}] call CBA_fnc_addClassEventHandler;
};
Expand Down

0 comments on commit a8302ac

Please sign in to comment.