From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sat, 27 May 2023 21:41:41 +0000 (+0200) Subject: ignore jump pads while dropping in battle royale X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e6dab8f658c7248dd05098c47264a78b78db50dd;p=xonotic%2Fxonotic-data.pk3dir.git ignore jump pads while dropping in battle royale --- diff --git a/qcsrc/common/mapobjects/triggers.qc b/qcsrc/common/mapobjects/triggers.qc index 39fa89c42..3bc6d9347 100644 --- a/qcsrc/common/mapobjects/triggers.qc +++ b/qcsrc/common/mapobjects/triggers.qc @@ -4,6 +4,8 @@ bool isPushable(entity e) { if(e.pushable) return true; + if(STAT(DROP, e) != DROP_LANDED) + return false; #ifdef SVQC if(IS_VEHICLE(e)) return false;