From 1d48d374d987ad7a764d3ff35f4fa5b68b53892d Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Tue, 24 Jan 2023 20:50:45 -0500 Subject: [PATCH] SERVER: Fix Quick Revive price not updating on (dis)connect --- source/server/entities/machines.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/server/entities/machines.qc b/source/server/entities/machines.qc index 13d62e1..43a6a4a 100644 --- a/source/server/entities/machines.qc +++ b/source/server/entities/machines.qc @@ -397,7 +397,7 @@ void() touch_perk = // Check if this is Quick Revive and we are playing in Co-Op, // adjust price if so. - if (self.classname == "perk_revive" && player_count > 1) + if (self.classname == "perk_revive" && player_count >= 1) price = self.cost2; // Nope, use normal cost. else