From: Morosophos Date: Wed, 25 Sep 2019 09:00:39 +0000 (+0300) Subject: Ensure that fast doors don't open slower with sv_doors_always_open X-Git-Tag: xonotic-v0.8.5~1277^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7db1266f5b9d7bfcdda4fc4c8d5ba6ab121fd2df;p=xonotic%2Fxonotic-data.pk3dir.git Ensure that fast doors don't open slower with sv_doors_always_open --- 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) {