From: Morosophos Date: Fri, 13 Sep 2019 13:06:47 +0000 (+0300) Subject: One more braket reducing X-Git-Tag: xonotic-v0.8.5~1277^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4351972be88f5dc0284b944485c414e0c2bd1c9;p=xonotic%2Fxonotic-data.pk3dir.git One more braket reducing --- diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index 2344d1fd8..c2b14d266 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -735,12 +735,9 @@ spawnfunc(func_door) { this.speed = 750; } - else + else if (!this.speed) { - if (!this.speed) - { - this.speed = 100; - } + this.speed = 100; } settouch(this, door_touch);