16.01.2013, 15:02
It sounds like you're showing your login dialog in OnPlayerRequestClass, everytime you click the left or right buttons to switch skins, it calls that callback thus showing your dialog again. Maybe set a variable to say that a player is logged in after they've logged in successfully and then in OnPlayerRequestClass make it so it only shows the dialog if the player isn't logged in, that should fix your issue.