Fix deluxo wing

This commit is contained in:
sardelka9515
2022-08-23 13:45:45 +08:00
parent 347d65af62
commit 6e213611cc
2 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@ using System.Resources;
// Version informationr(
[assembly: AssemblyVersion("1.5.2.118")]
[assembly: AssemblyFileVersion("1.5.2.118")]
[assembly: AssemblyVersion("1.5.2.119")]
[assembly: AssemblyFileVersion("1.5.2.119")]
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]

View File

@ -206,9 +206,11 @@ namespace RageCoop.Client
Function.Call(Hash._TRANSFORM_SUBMARINE_TO_VEHICLE, MainVehicle.Handle, false);
}
}
else if(IsDeluxo && IsDeluxoHovering!=MainVehicle.IsDeluxoHovering()){
else if(IsDeluxo)
{
MainVehicle.SetDeluxoHoverState(IsDeluxoHovering);
if(IsDeluxoHovering){
if (IsDeluxoHovering)
{
MainVehicle.SetDeluxoWingRatio(DeluxoWingRatio);
}
}