Selected weapon changing randomly?

I was playing a custom game where it was everyone from themselves. I think it was “arena” mode?

But anyways, despite having my staff out, it automatically switches to pistol after emoting.

This is because the pistol is set as the default weapon in FFA modes.

why?? i have it unbound for a reason, stop switching to it.

Stop playing FFA. Issue resolved.