This commit is contained in:
sardelka9515
2022-08-21 14:22:41 +08:00
parent 5bfc7f836e
commit 03bc3a7742

View File

@ -746,7 +746,7 @@ namespace RageCoop.Client
#endregion #endregion
private void DisplayInVehicle() private void DisplayInVehicle()
{ {
if (CurrentVehicle==null || CurrentVehicle.MainVehicle==null) { Main.Logger.Error("Veh not found"); return; } if (CurrentVehicle?.MainVehicle==null) { return; }
switch (Speed) switch (Speed)
{ {
case 4: case 4: