From 15e919dbd06b8ad946678fc044d5acb1ba3f6d7e Mon Sep 17 00:00:00 2001 From: Fabian Date: Mon, 3 May 2021 00:15:55 +0200 Subject: [PATCH] rentcar timer wieder auf normalwert --- ReallifeGamemode.Client/util/rentcar.ts | 4 ++-- ReallifeGamemode.Server/Util/Rentcar.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ReallifeGamemode.Client/util/rentcar.ts b/ReallifeGamemode.Client/util/rentcar.ts index 13e48cfa..58095235 100644 --- a/ReallifeGamemode.Client/util/rentcar.ts +++ b/ReallifeGamemode.Client/util/rentcar.ts @@ -48,7 +48,7 @@ export default function rentCar(globalData: IGlobalData) { } rentcarMenu = new Menu("Fahrzeugverleih", "", new Point(0, screenRes.y / 3), null, null); - rentcarMenu.AddItem(new UIMenuListItem("Fahrzeug", "$" + vehiclePrices[0] + " alle 5 Minuten", new ItemsCollection(vehicleNames))); + rentcarMenu.AddItem(new UIMenuListItem("Fahrzeug", "$" + vehiclePrices[0] + " alle 3 Minuten", new ItemsCollection(vehicleNames))); rentcarMenu.AddItem(sendItem); rentcarMenu.AddItem(cancelItem); @@ -60,7 +60,7 @@ export default function rentCar(globalData: IGlobalData) { rentcarMenu.ListChange.on((item: NativeUI.UIMenuListItem, index) => { switch (item.Text) { case "Fahrzeug": - item.Description = "$" + vehiclePrices[index] + " alle 5 Minuten"; + item.Description = "$" + vehiclePrices[index] + " alle 3 Minuten"; selectedIndex = index; //item.Description = item.SelectedValue; break; diff --git a/ReallifeGamemode.Server/Util/Rentcar.cs b/ReallifeGamemode.Server/Util/Rentcar.cs index d0ecfd2b..11dc67e6 100644 --- a/ReallifeGamemode.Server/Util/Rentcar.cs +++ b/ReallifeGamemode.Server/Util/Rentcar.cs @@ -13,7 +13,7 @@ namespace ReallifeGamemode.Server.Util class Rentcar : Script { //In Sekunden - public static int PAY_TIMER = 30; + public static int PAY_TIMER = 180; //In Stunden private static int PAYTIME_FREE = 30;