소스 검색

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"];