From 6ac3c673799753a562c450983ecda272a66c8757 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sat, 14 Mar 2020 01:30:30 +0100 Subject: [PATCH] siga ist dumm --- ReallifeGamemode.Server/Managers/HouseManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Managers/HouseManager.cs b/ReallifeGamemode.Server/Managers/HouseManager.cs index af20079b..557ee648 100644 --- a/ReallifeGamemode.Server/Managers/HouseManager.cs +++ b/ReallifeGamemode.Server/Managers/HouseManager.cs @@ -12,7 +12,7 @@ using System.Text; namespace ReallifeGamemode.Server.Managers { - class HouseManager + public class HouseManager : Script { private static readonly Dictionary houseMarkers = new Dictionary(); private static readonly Dictionary houseLabels = new Dictionary(); @@ -101,7 +101,7 @@ namespace ReallifeGamemode.Server.Managers playerInColShape[house.Id] = new List(); - houseMarkers[house.Id] = NAPI.Marker.CreateMarker(MarkerType.VerticalCylinder, house.Position.Subtract(new Vector3(0, 0, 1.7)), new Vector3(), new Vector3(), 1.6f, new Color(255, 255, 255)); + houseMarkers[house.Id] = NAPI.Marker.CreateMarker(MarkerType.VerticalCylinder, house.Position.Subtract(new Vector3(0, 0, 1.7)), new Vector3(), new Vector3(), 1.6f, new Color(255, 255, 255)).Handle; string text = $"~g~Zum Verkauf\n~s~{house.Type}\nPreis: ~y~{(house.Price == 0 ? "~r~Nicht verkäuflich" : house.Price.ToMoneyString())}"; if (house.OwnerId != null)