]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 2f2de95b38f0e772b0cdb7023c698fc2cdc27c9f..367cc99b7a64f3f45f25a2242b8ec0c350ba1219 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;
        }
 }