SERVER: Fix revive icon not working when a player bleeds out

This commit is contained in:
cypress 2023-11-29 14:12:33 -05:00
parent 8e0aa1056f
commit 68aaae1bee

View file

@ -158,10 +158,9 @@ void() rec_downed =
if (!self.beingrevived) if (!self.beingrevived)
self.downedloop += 1; self.downedloop += 1;
bprint(PRINT_HIGH, strcat(ftos(self.downedloop), "\n"));
if (self.downedloop >= 30) { if (self.downedloop >= 30) {
DisableReviveIcon(self.electro_targeted); DisableReviveIcon(self.electro_targeted);
revive_index--;
startspectate(); startspectate();
return; return;
} }