Fix special role preferences not saving some of the time
Created by: Zaers
In some cases (from my testing reconnecting seemed to cause it) the preferences datum for a given client wasn't holding a reference to the client datum, making saving the special roles save button not work (regular preferences saving is handled by the client's topic).
This patch fixes it for all cases I was able to test and adds some additional logging in case the role preferences fail to save
Fixes #13433 (closed)
- bugfix: Special role preferences should now properly save when the submit button is pressed