summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_combat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 4df883c..e4c3bba 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1489,7 +1489,8 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker,
if( targ->client )
targ->client->ps.stats[ STAT_HEALTH ] = targ->health;
- targ->lastDamageTime = level.time;
+ if( mod != MOD_CORONAVIRUS )
+ targ->lastDamageTime = level.time;
targ->lastDamageMOD = mod;
//TA: add to the attackers "account" on the target