diff --git a/addons/cookoff/functions/fnc_cookOff.sqf b/addons/cookoff/functions/fnc_cookOff.sqf index 5b57b872ade..b9d951e8227 100644 --- a/addons/cookoff/functions/fnc_cookOff.sqf +++ b/addons/cookoff/functions/fnc_cookOff.sqf @@ -75,7 +75,7 @@ if (_smokeDelayEnabled) then { [_pfh] call CBA_fnc_removePerFrameHandler; if (GVAR(destroyVehicleAfterCookoff) || _detonateAfterCookoff) then { - _vehicle setDamage [1, _detonateAfterCookoff]; + _vehicle setDamage [1, true]; }; }; diff --git a/addons/cookoff/stringtable.xml b/addons/cookoff/stringtable.xml index d325e96c984..8e46fe89c5f 100644 --- a/addons/cookoff/stringtable.xml +++ b/addons/cookoff/stringtable.xml @@ -174,11 +174,7 @@ Destruir vehículos tras la detonación inducida por calor - Controls whether vehicles will always be destroyed after cooking off. Depending on the cookoff, the vehicle may explode or may simply be killed without effects. - 차량이 쿡오프된 후 파괴할 지에 대한 여부를 제어합니다. 쿡오프에 따라 차량이 폭발하거나 아무런 효과 없이 파괴될 수 있습니다. - 控制载具是否总是会在殉爆结束后被摧毁。根据殉爆的剧烈程度,载具可能会爆炸,也可能只是被没有效果地摧毁。 - Всегда ли техника будет уничтожена после детонации. В зависимости от детонации, она может быть взорвана или просто уничтожена без эффектов. - Controla si los vehículos serán siempre destruidos despues de la detonación inducida por calor. Dependiendo de esta, el vehículo puede explotar o simplemente puede ser destruido sin efectos. + Controls whether vehicles will always be destroyed after cooking off. Enable Cook-Off Vehicle Fire