Fixed stuff
This commit is contained in:
@@ -130,12 +130,12 @@ namespace InterfaceOff
|
||||
PasswordField.SetActive(false);
|
||||
|
||||
/* Else checks if it should change the active scene */
|
||||
if (Input.GetKey(KeyCode.Space) && LeaderboardObject.activeSelf)
|
||||
if (Input.GetKey(KeyCode.Space) && !LeaderboardObject.activeSelf)
|
||||
{
|
||||
SceneController.ReloadScene();
|
||||
}
|
||||
|
||||
else if (Input.GetKey(KeyCode.Tab) && LeaderboardObject.activeSelf)
|
||||
else if (Input.GetKey(KeyCode.Tab) && !LeaderboardObject.activeSelf)
|
||||
{
|
||||
SceneController.Load(name: "MenuScene");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user