From: terencehill Date: Wed, 25 Mar 2020 17:46:07 +0000 (+0100) Subject: Restore setting of air_finished CreatureFrame_Liquids in CreatureFrame_Liquids. This... X-Git-Tag: xonotic-v0.8.5~1144^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b0abca002872375821d44365ce3c760c8d727a31;p=xonotic%2Fxonotic-data.pk3dir.git Restore setting of air_finished CreatureFrame_Liquids in CreatureFrame_Liquids. This commit reverts 7f79df2d74 --- diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 2f2de95b3..367cc99b7 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -89,6 +89,7 @@ void CreatureFrame_Liquids(entity this) this.flags &= ~FL_INWATER; this.dmgtime = 0; } + this.air_finished = time + autocvar_g_balance_contents_drowndelay; } }