浏览代码

fixing boost

Namenai 7 年之前
父节点
当前提交
3502f89481
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Boost/boostStart.sqf

+ 1 - 1
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Boost/boostStart.sqf

@@ -7,7 +7,7 @@ try
 	hint "ENGAGING FORWARD THRUSTERS";
 	hint "ENGAGING FORWARD THRUSTERS";
 	if(speed _vic >= _namMinSpeed) then 
 	if(speed _vic >= _namMinSpeed) then 
 	{
 	{
-		while {((_pelican getvariable ["OPTRE_Thruster_EngagedStatus",false]) AND (alive _vic))} do
+		while {((_vic getvariable ["OPTRE_Thruster_EngagedStatus",false]) AND (alive _vic))} do
 		{
 		{
 			if (speed _vic <= 600) then {
 			if (speed _vic <= 600) then {
 				_vel = velocity _vic;
 				_vel = velocity _vic;