Don't display powerup count indicator after finish online race

This commit is contained in:
Deve 2018-09-29 08:07:14 +02:00
parent a4c9a8826c
commit 93298023b4

View File

@ -340,6 +340,7 @@ void RaceGUIMultitouch::draw(const AbstractKart* kart,
} }
else if (button->type == MultitouchButtonType::BUTTON_FIRE && else if (button->type == MultitouchButtonType::BUTTON_FIRE &&
kart->getPowerup()->getNum() > 1 && kart->getPowerup()->getNum() > 1 &&
!kart->hasFinishedRace() &&
m_gui_action == false) m_gui_action == false)
{ {
gui::ScalableFont* font = GUIEngine::getHighresDigitFont(); gui::ScalableFont* font = GUIEngine::getHighresDigitFont();