From 56481ed2d836859f006231c782740c94eeadc0ed Mon Sep 17 00:00:00 2001 From: Fabian Date: Mon, 3 May 2021 00:19:35 +0200 Subject: [PATCH] rentcar fix --- ReallifeGamemode.Server/Util/Rentcar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Util/Rentcar.cs b/ReallifeGamemode.Server/Util/Rentcar.cs index 11dc67e6..fccd4691 100644 --- a/ReallifeGamemode.Server/Util/Rentcar.cs +++ b/ReallifeGamemode.Server/Util/Rentcar.cs @@ -106,7 +106,7 @@ namespace ReallifeGamemode.Server.Util return; } - player.TriggerEvent("BN_Show", "Fahrzeug seit ~b~" + time + "~w~ Sekunden gemietet. Gesamtkosten: ~g~$" + bill); + player.TriggerEvent("BN_Show", "Fahrzeug seit ~b~" + (int)(time / 60) + "~w~ Minuten gemietet. Gesamtkosten: ~g~$" + bill); mapPlayerRentcarBill[player.Name] = (mapPlayerRentcarBill[player.Name].Item1, bill); }