From 7a0a262b61e5481f18f6cdaa5acf18d30a2efd93 Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Sat, 14 Dec 2019 15:31:23 +0100 Subject: [PATCH] try fix --- .../Managers/WeaponManager.cs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/ReallifeGamemode.Server/Managers/WeaponManager.cs b/ReallifeGamemode.Server/Managers/WeaponManager.cs index 1f323a8e..e680cf5b 100644 --- a/ReallifeGamemode.Server/Managers/WeaponManager.cs +++ b/ReallifeGamemode.Server/Managers/WeaponManager.cs @@ -125,18 +125,16 @@ namespace ReallifeGamemode.Server.Managers { if ((uint)vh == hash) { - foreach (string w in _modWeapons) - { - if (NAPI.Util.GetHashKey(w) == hash) - { - return w; - } - } + return "test"; + } + } + foreach (string w in _modWeapons) + { + if (NAPI.Util.GetHashKey(w) == hash) + { + return w; } - } - - return "unbekannt"; } }