try fix taxidriver
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user