Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
C# 7.0 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Trojaner committed Jul 30, 2017
1 parent f4ee5f4 commit 2c17932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Model/Flag/Impl/NoVehiclesUsageFlag.cs
Expand Up @@ -33,10 +33,7 @@ public override void UpdateState(List<UnturnedPlayer> players)
if (!isInVeh || wasDriving ||
!GetValueSafe(Region.GetGroup(player))) continue;

byte seat;
Vector3 point;
byte angle;
veh.forceRemovePlayer(out seat, PlayerUtil.GetCSteamId(player), out point, out angle);
veh.forceRemovePlayer(out byte seat, PlayerUtil.GetCSteamId(player), out Vector3 point, out byte angle);
VehicleManager.instance.channel.send("tellExitVehicle", ESteamCall.ALL, ESteamPacket.UPDATE_RELIABLE_BUFFER, veh.instanceID, seat, point, angle, true);
}
}
Expand Down
1 change: 1 addition & 0 deletions Rocket_Regions.csproj
Expand Up @@ -31,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
Expand Down

0 comments on commit 2c17932

Please sign in to comment.