fix: al voler definir els botons dels mandos sense tindre cap mando conectat, petava tot
This commit is contained in:
@@ -215,7 +215,7 @@ void Scoreboard::fillBackgroundTexture()
|
||||
|
||||
else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_DEMO)
|
||||
{
|
||||
if (counter % 2 == 0)
|
||||
if (counter % 10 < 8)
|
||||
{
|
||||
textScoreBoard->writeCentered(offsetScoreP1.x, offsetScoreP1.y, "Mode");
|
||||
textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y, "Demo");
|
||||
@@ -235,7 +235,7 @@ void Scoreboard::fillBackgroundTexture()
|
||||
|
||||
else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_DEMO)
|
||||
{
|
||||
if (counter % 2 == 0)
|
||||
if (counter % 10 < 8)
|
||||
{
|
||||
textScoreBoard->writeCentered(offsetScoreP2.x, offsetScoreP2.y, "Mode");
|
||||
textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y, "Demo");
|
||||
|
||||
Reference in New Issue
Block a user