From 7db1266f5b9d7bfcdda4fc4c8d5ba6ab121fd2df Mon Sep 17 00:00:00 2001 From: Morosophos Date: Wed, 25 Sep 2019 12:00:39 +0300 Subject: [PATCH] Ensure that fast doors don't open slower with sv_doors_always_open --- qcsrc/common/mapobjects/func/door.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index c2b14d266..e9fd04b72 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -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) { -- 2.39.2