try fix taxidriver

This commit is contained in:
Michael
2020-07-16 20:39:28 +02:00
parent b076b601b3
commit 22b5b1c899
2 changed files with 8 additions and 5 deletions

View File

@@ -5,8 +5,11 @@
font-style: normal
}
body {
width: 240px
body {
width: 240px;
position: absolute;
bottom: 2%;
right: 2%;
}
h4 {
@@ -30,7 +33,7 @@ h4 {
.taximeter {
max-width: 100%;
height: 80px;
height: 60px;
padding: 1em;
display: flex;
justify-content: space-between;
@@ -54,7 +57,7 @@ h4 {
max-width: 100%;
margin: 0;
font-family: DS-Digital;
font-size: 150%;
font-size: 120%;
color: red;
display: block
}

View File

@@ -407,7 +407,7 @@ namespace ReallifeGamemode.Server.Managers
player.TriggerEvent("CLIENT:startCustomerFare", taxiPrice, km);
var taxiContracts = taxiJob.TaxiContracts.Where(t => t.Name == player.Name);
if (taxiContracts.Count() == 0) return;
//if (taxiContracts.Count() == 0) return;
var contract = taxiContracts.First();
taxiJob.TaxiContracts.Remove(contract);