Преглед на файлове

Fix bad nil for squad shield end sound event

m3ales преди 3 години
родител
ревизия
30155cd783
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      addons - Copy/RD501_Main/functions/fired_deployable/fnc_fired_deployable_deployServer.sqf

+ 1 - 1
addons - Copy/RD501_Main/functions/fired_deployable/fnc_fired_deployable_deployServer.sqf

@@ -42,7 +42,7 @@ if(_timeToLive > 0) then {
 		_timeToLive
 	] call CBA_fnc_waitAndExecute;
 
-	if(_hasEndSound && !isNil _endSound && _endSound != "") then {
+	if(_hasEndSound && _endSound != "") then {
 		[
 			{
 				params["_deployed", "_endSound", "_endDuration", "_distance"];