try fix taxidriver
This commit is contained in:
@@ -6,7 +6,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
width: 240px
|
width: 240px;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 2%;
|
||||||
|
right: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
@@ -30,7 +33,7 @@ h4 {
|
|||||||
|
|
||||||
.taximeter {
|
.taximeter {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 80px;
|
height: 60px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -54,7 +57,7 @@ h4 {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: DS-Digital;
|
font-family: DS-Digital;
|
||||||
font-size: 150%;
|
font-size: 120%;
|
||||||
color: red;
|
color: red;
|
||||||
display: block
|
display: block
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
player.TriggerEvent("CLIENT:startCustomerFare", taxiPrice, km);
|
player.TriggerEvent("CLIENT:startCustomerFare", taxiPrice, km);
|
||||||
|
|
||||||
var taxiContracts = taxiJob.TaxiContracts.Where(t => t.Name == player.Name);
|
var taxiContracts = taxiJob.TaxiContracts.Where(t => t.Name == player.Name);
|
||||||
if (taxiContracts.Count() == 0) return;
|
//if (taxiContracts.Count() == 0) return;
|
||||||
|
|
||||||
var contract = taxiContracts.First();
|
var contract = taxiContracts.First();
|
||||||
taxiJob.TaxiContracts.Remove(contract);
|
taxiJob.TaxiContracts.Remove(contract);
|
||||||
|
|||||||
Reference in New Issue
Block a user