From: bones_was_here Date: Tue, 16 Jun 2020 11:00:03 +0000 (+1000) Subject: Set func_door speed to 400 if it's unspecified and sv_q3defragcompat is enabled X-Git-Tag: xonotic-v0.8.5~912^2 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=8767c6a3a698d165fe9264a70081fd047244d679 Set func_door speed to 400 if it's unspecified and sv_q3defragcompat is enabled --- diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index 57faf51455..11196ab38d 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -737,7 +737,10 @@ spawnfunc(func_door) } else if (!this.speed) { - this.speed = 100; + if (autocvar_sv_q3defragcompat) + this.speed = 400; + else + this.speed = 100; } settouch(this, door_touch);