X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fnexball%2Fnexball.qc;h=c841079fb775016d7828964bc25c0142261f76f0;hb=991de5e6922cd3c283de56c3249624f0f1bfe767;hp=f9885fefd45321c42987a5ff192fa7c9faf539df;hpb=25f7a4a5f137ffb344c47107636fcfc7cdfa2045;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc index f9885fefd..c841079fb 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc +++ b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc @@ -306,7 +306,7 @@ void football_touch(entity this, entity toucher) this.nextthink = time + autocvar_g_nexball_delay_idle; return; } - if (!IS_PLAYER(toucher)) + if (!IS_PLAYER(toucher) && !IS_VEHICLE(toucher)) return; if(GetResource(toucher, RES_HEALTH) < 1) return;