Mirror-Multiplayer-Tutorials icon indicating copy to clipboard operation
Mirror-Multiplayer-Tutorials copied to clipboard

Bug in PlayerNameInput.cs When PlayerPrefs is Empty

Open DavidJH2 opened this issue 5 years ago • 0 comments

In PlayerNameInput when PlayerPrefs(PlayerPrefsNameKey) is empty the 'Continue' button does not get disabled.

This is because of the initial return when PlayerPrefs.HasKey(PlayerPrefsNameKey) is false since it never reaches 'SetPlayerName()'

DavidJH2 avatar Mar 13 '20 08:03 DavidJH2