Restore setting of air_finished CreatureFrame_Liquids in CreatureFrame_Liquids. This...
authorterencehill <piuntn@gmail.com>
Wed, 25 Mar 2020 17:46:07 +0000 (18:46 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 25 Mar 2020 17:46:07 +0000 (18:46 +0100)
qcsrc/server/sv_main.qc

index 2f2de95..367cc99 100644 (file)
@@ -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;
        }
 }