]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
func_door: use Q3 default of 2s .wait time on Q3 maps
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 7 Oct 2022 10:10:34 +0000 (20:10 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 15 Sep 2023 07:11:41 +0000 (17:11 +1000)
qcsrc/common/mapobjects/func/door.qc

index 22c34f4ae36f85f010b01430d466d05a07249e81..4e081bfb70308d7ea88d04e87b6af6396e3501b6 100644 (file)
@@ -704,7 +704,7 @@ void door_init_shared(entity this)
        }
        else if (!this.wait)
        {
-               this.wait = 3;
+               this.wait = q3compat ? 2 : 3;
        }
 
        if (!this.lip)