Quellcode durchsuchen

Fix bad nil for squad shield end sound event

m3ales vor 3 Jahren
Ursprung
Commit
30155cd783

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