From b640951b2bf5836ee5dda50db0e735e667a9fc13 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 4 Jun 2019 18:04:30 +1000 Subject: [PATCH] Allow vehicles to push footballs --- qcsrc/common/gamemodes/gamemode/nexball/nexball.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2