From f0e1a9c4f4152983a84280e6c98f91210eb6285f Mon Sep 17 00:00:00 2001 From: cypress Date: Sat, 2 Sep 2023 11:44:15 -0400 Subject: [PATCH] SERVER: Fix Pack-A-Punch not showing weapon name --- source/server/entities/machines.qc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/server/entities/machines.qc b/source/server/entities/machines.qc index e2c1734..371676d 100644 --- a/source/server/entities/machines.qc +++ b/source/server/entities/machines.qc @@ -1243,7 +1243,14 @@ void touch_pap() { sound(other, 0, "sounds/misc/denybuy.wav", 1, 1); } } else if (self.papState == 2) { - useprint (other, 7, 0, 0); + +#ifndef FTE + + other.Weapon_Name_Touch = GetWeaponName(EqualPapWeapon(self.weapon)); + +#endif // FTE + + useprint (other, 7, 0, EqualPapWeapon(self.weapon)); if (other.button7) { // Back-up current weapon into second slot, it's getting replaced.