Skip to content

The "mute all" command should not unmute already muted people.

DwainTheRock··16 votes·1,259 views

If you mute someone and you later realize that everyone's tilted, you can use the "/mute all" command in order to focus. Only this command will actually TOGGLE the mute status of all players instead of just setting everyone's status to muted. It's really annoying.

6 Comments

IBgarbo6 votes

It's just Riot being lazy and not changing it forever. Maybe they'll fix it next patch but probably not. It would literally require adding like 3 lines of code.

DwainTheRock4 votes

literally ONE line of code to change if it's not too spagetti (tabs won't render don't hate me)...

const static int muted = 1; const static int unmuted = 0;

static struct { bool player[5]; } team[2] = { { unmuted, unmuted, unmuted, unmuted, unmuted }, { unmuted, unmuted, unmuted, unmuted, unmuted } };

void muteAllCommand(void) { int t = 0, p = 0; while (t < 2) { while (player < 5) { // team[t].player[p] = team[t].player[p] ^= muted; // REMOVE THIS CRAP team[t].player[p] = muted; // REPLACE BY THIS } } }

P.S.: This is if Riot programmers were masochists and coded league in C. I'm a nerd.

IBgarbo2 votes

I'm saying 3 because I'm fairly sure if theyre having this problem theyre inept and didn't do an array or boolean or shit like that. Haven't looked at the code so unsure what they did for it, but I'm fairly sure they have to be inept in order to have this issue.

Modi1 votes

This sounds more like a bug. Try posting this in the Report A Bug board.

Olath Quortek1 votes

I agree ^

More from Player Behavior

More by DwainTheRock