SERVER/FTE: Fix Revive Initialization never advancing

This commit is contained in:
cypress 2024-06-03 21:41:34 -07:00
parent b9cda0f079
commit 0abf4b18f9

View file

@ -1789,7 +1789,7 @@ void() CheckPlayer =
ent.beingrevived = true; ent.beingrevived = true;
ent.firer = self; ent.firer = self;
if (!self.progress_bar_percent) { if (!self.reviving) {
ChangeReviveIconState(ent.electro_targeted, 2); ChangeReviveIconState(ent.electro_targeted, 2);
self.movetype = MOVETYPE_TOSS; self.movetype = MOVETYPE_TOSS;
Set_W_Frame (0, 21, 0, 0, SPRINT, SUB_Null, "models/weapons/morphine/v_morphine.mdl", false, S_RIGHT); Set_W_Frame (0, 21, 0, 0, SPRINT, SUB_Null, "models/weapons/morphine/v_morphine.mdl", false, S_RIGHT);