]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/sv_main.qc
Don't enable the oxygen bar when frozen or in lava/slime; also fix the oxygen bar...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / sv_main.qc
index 3aef76e49a22074a71285ee56f29129b1799a103..2f2de95b38f0e772b0cdb7023c698fc2cdc27c9f 100644 (file)
@@ -80,8 +80,6 @@ void CreatureFrame_Liquids(entity this)
                }
 
                CreatureFrame_hotliquids(this);
-               if (!this.air_finished)
-                       this.air_finished = time + autocvar_g_balance_contents_drowndelay;
        }
        else
        {
@@ -91,7 +89,6 @@ void CreatureFrame_Liquids(entity this)
                        this.flags &= ~FL_INWATER;
                        this.dmgtime = 0;
                }
-               this.air_finished = 0;
        }
 }