mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 13:21:32 +00:00
SERVER: Fix revive icon not working when a player bleeds out
This commit is contained in:
parent
8e0aa1056f
commit
68aaae1bee
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue