Ensure that fast doors don't open slower with sv_doors_always_open
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / door.qc
index c2b14d2..e9fd04b 100644 (file)
@@ -733,7 +733,7 @@ spawnfunc(func_door)
 
         if(autocvar_sv_doors_always_open)
         {
-                this.speed = 750;
+                this.speed = max(750, this.speed);
         }
         else if (!this.speed)
         {