From 872f214c41ad2c58ab1c2285e8bcce7be4baed8e Mon Sep 17 00:00:00 2001 From: Deve Date: Mon, 2 Jul 2018 21:41:48 +0200 Subject: [PATCH] Fixed a crash when using rubber band in legacy pipeline. Fixes #3338 --- src/items/rubber_band.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/rubber_band.cpp b/src/items/rubber_band.cpp index d135c5573..c70ace76e 100644 --- a/src/items/rubber_band.cpp +++ b/src/items/rubber_band.cpp @@ -47,7 +47,7 @@ RubberBand::RubberBand(Plunger *plunger, AbstractKart *kart) { m_attached_state = RB_TO_PLUNGER; #ifndef SERVER_ONLY - if (ProfileWorld::isNoGraphics()) + if (ProfileWorld::isNoGraphics() || !CVS->isGLSL()) { return; }